[PATCH 0/3] reload the firmware as needed
Chaoyong He
chaoyong.he at corigine.com
Tue Feb 27 12:15:48 CET 2024
Add the necessary logic to get firmware version from firmware file, and
only reload the firmware when the firmware version changed.
Also add a device argument which can force reload the firmware and
ignore the firmware version.
Peng Zhang (3):
net/nfp: add the elf module
net/nfp: reload the firmware only when firmware changed
net/nfp: add force reload firmware option
drivers/net/nfp/meson.build | 1 +
drivers/net/nfp/nfp_ethdev.c | 177 ++++-
drivers/net/nfp/nfp_net_common.c | 17 +
drivers/net/nfp/nfp_net_common.h | 10 +
drivers/net/nfp/nfpcore/nfp_elf.c | 1079 +++++++++++++++++++++++++++++
drivers/net/nfp/nfpcore/nfp_elf.h | 13 +
drivers/net/nfp/nfpcore/nfp_mip.c | 30 +-
drivers/net/nfp/nfpcore/nfp_mip.h | 70 +-
8 files changed, 1355 insertions(+), 42 deletions(-)
create mode 100644 drivers/net/nfp/nfpcore/nfp_elf.c
create mode 100644 drivers/net/nfp/nfpcore/nfp_elf.h
--
2.39.1
More information about the dev
mailing list