numam-dpdk/drivers/net
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
..
af_packet bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
af_xdp dev: hide driver object 2022-09-23 16:14:34 +02:00
ark dev: hide driver object 2022-09-23 16:14:34 +02:00
atlantic eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
avp dev: hide driver object 2022-09-23 16:14:34 +02:00
axgbe dev: hide driver object 2022-09-23 16:14:34 +02:00
bnx2x dev: hide driver object 2022-09-23 16:14:34 +02:00
bnxt dev: hide driver object 2022-09-23 16:14:34 +02:00
bonding net/bonding: fix double slave link status query 2022-08-25 19:04:09 +02:00
cnxk eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
cxgbe dev: hide driver object 2022-09-23 16:14:34 +02:00
dpaa bus/dpaa: make driver-only headers private 2022-09-23 16:14:34 +02:00
dpaa2 dev: hide driver object 2022-09-23 16:14:34 +02:00
e1000 dev: hide driver object 2022-09-23 16:14:34 +02:00
ena dev: hide driver object 2022-09-23 16:14:34 +02:00
enetc version: 22.11-rc0 2022-07-21 12:13:48 +02:00
enetfec version: 22.11-rc0 2022-07-21 12:13:48 +02:00
enic dev: hide driver object 2022-09-23 16:14:34 +02:00
failsafe net/failsafe: fix interrupt handle leak 2022-08-30 12:59:54 +02:00
fm10k dev: hide driver object 2022-09-23 16:14:34 +02:00
hinic bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
hns3 bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
i40e dev: hide driver object 2022-09-23 16:14:34 +02:00
iavf dev: hide driver object 2022-09-23 16:14:34 +02:00
ice dev: hide driver object 2022-09-23 16:14:34 +02:00
igc bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
ionic bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
ipn3ke bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
ixgbe net/ixgbe: move bypass init in a testpmd command 2022-08-25 13:37:56 +02:00
kni bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
liquidio eal: deprecate RTE_FUNC_PTR_* macros 2022-09-23 16:14:34 +02:00
memif bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
mlx4 dev: hide driver object 2022-09-23 16:14:34 +02:00
mlx5 bus: hide bus object 2022-09-23 16:14:34 +02:00
mvneta bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
mvpp2 bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
netvsc dev: hide driver object 2022-09-23 16:14:34 +02:00
nfb version: 22.11-rc0 2022-07-21 12:13:48 +02:00
nfp net/nfp: compose firmware file name with new hwinfo 2022-08-31 12:27:02 +02:00
ngbe bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
null bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
octeontx dev: hide driver object 2022-09-23 16:14:34 +02:00
octeontx_ep eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
pcap bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
pfe bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
qede dev: hide driver object 2022-09-23 16:14:34 +02:00
ring bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
sfc dev: hide driver object 2022-09-23 16:14:34 +02:00
softnic bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
tap bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
thunderx dev: hide driver object 2022-09-23 16:14:34 +02:00
txgbe bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
vdev_netvsc dev: hide driver object 2022-09-23 16:14:34 +02:00
vhost bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
virtio dev: hide driver object 2022-09-23 16:14:34 +02:00
vmxnet3 dev: hide driver object 2022-09-23 16:14:34 +02:00
meson.build drivers: remove octeontx2 drivers 2022-01-12 15:36:32 +01:00