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.

---
v2:
* Changed strcpy to strlcpy.
* Moved static array VALID_KEYS from header file.
* Fixed hex base number parsing for port argument.
* The strlcpy is used instead of strcpy.
* Used __rte_internal tag for nfb_eth_common_{probe,remove}.
* Fixed coding style and spelling issues.


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            |  46 +++-
 drivers/net/nfb/nfb_ethdev.c     | 407 +++++++++++++++++++++++--------
 drivers/net/nfb/nfb_rx.c         |  21 +-
 drivers/net/nfb/nfb_tx.c         |  21 +-
 drivers/net/nfb/nfb_vdev.c       |  96 ++++++++
 8 files changed, 554 insertions(+), 229 deletions(-)
 create mode 100644 drivers/net/nfb/nfb_vdev.c

--
2.52.0

Reply via email to