numam-dpdk/drivers/net/nfp
Peng Zhang 06be30d476 net/nfp: compose firmware file name with new hwinfo
During initialization of the NFP driver, a file name for loading
application firmware is composed using the NIC's AMDA information and
port type (count and speed). E.g.: "nic_AMDA0145-1012_2x10.nffw".

In practice there may be many variants for each NIC type, and many of
the variants relate to assembly components which do not concern the
driver and application firmware implementation. Yet the current scheme
leads to a different application firmware file name for each variant,
because they have different AMDA information.

To reduce proliferation of content-duplicated application firmware
images or symlinks, the NIC's management firmware will only expose
differences between variants that need different application firmware
via a newly introduced hwinfo, "nffw.partno".

Use of the existing hwinfo, "assembly.partno", is maintained in order to
support for NICs with management firmware that does not expose
"nffw.partno".

Fixes: 646ea79ce4 ("net/nfp: move PF functions into its own file")
Cc: stable@dpdk.org

Signed-off-by: Peng Zhang <peng.zhang@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
2022-08-31 12:27:02 +02:00
..
nfpcore net/nfp: move round macros to header file 2022-06-17 15:32:41 +02:00
meson.build net/nfp: rename files for consistency 2021-08-17 18:26:57 +02:00
nfp_common.c dev: hide driver object 2022-09-23 16:14:34 +02:00
nfp_common.h net/nfp: add queue stop and close helper functions 2022-06-17 15:32:41 +02:00
nfp_cpp_bridge.c net/nfp: remove unused message length 2021-11-16 13:01:52 +01:00
nfp_cpp_bridge.h net/nfp: move CPP bridge to separate file 2021-08-17 18:26:57 +02:00
nfp_ctrl.h net/nfp: modify RSS logic 2022-06-17 15:32:41 +02:00
nfp_ethdev_vf.c net/nfp: add NFDk Tx 2022-06-23 11:06:41 +02:00
nfp_ethdev.c net/nfp: compose firmware file name with new hwinfo 2022-08-31 12:27:02 +02:00
nfp_logs.h net/nfp: rename files for consistency 2021-08-17 18:26:57 +02:00
nfp_rxtx.c net/nfp: add NFDk Tx 2022-06-23 11:06:41 +02:00
nfp_rxtx.h net/nfp: add NFDk Tx 2022-06-23 11:06:41 +02:00
version.map version: 22.11-rc0 2022-07-21 12:13:48 +02:00