[PATCH v2 0/3] reload the firmware as needed
Chaoyong He
chaoyong.he at corigine.com
Fri Mar 1 09:42:41 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.
---
v2:
* Update commit log to explain what 'MIP' is.
* Document about the new add 'force_reload_fw' device argument.
---
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
doc/guides/nics/nfp.rst | 21 +
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 +-
9 files changed, 1376 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