From: Martin Spinler <[email protected]>
This series implements real multiport for better user experience.
The existing driver creates one ethdev/port for one PCI device.
As the CESNET-NDK based cards aren't capable to represent each
Ethernet port by own PCI device, new driver implementation
processes real port configuration from firmware/card and switches
from rte_eth_dev_pci_generic_probe to multiple rte_eth_dev_create calls.
---
Depends-on: series-37064 ("net/nfb: code cleanup")
Martin Spinler (8):
net/nfb: prepare for indirect queue mapping scheme
net/nfb: create ethdev for every eth port/channel
net/nfb: add vdev as alternative device probe method
net/nfb: add device argument "port" to limit used ports
net/nfb: init only MACs associated with device
net/nfb: add compatible cards to driver PCI ID table
net/nfb: report firmware version
doc/nfb: cleanup and update guide
doc/guides/nics/features/nfb.ini | 4 +
doc/guides/nics/nfb.rst | 187 +++++++--------
drivers/net/nfb/meson.build | 1 +
drivers/net/nfb/nfb.h | 48 +++-
drivers/net/nfb/nfb_ethdev.c | 399 +++++++++++++++++++++++--------
drivers/net/nfb/nfb_rx.c | 21 +-
drivers/net/nfb/nfb_tx.c | 21 +-
drivers/net/nfb/nfb_vdev.c | 97 ++++++++
8 files changed, 551 insertions(+), 227 deletions(-)
create mode 100644 drivers/net/nfb/nfb_vdev.c
--
2.52.0