This is a rename, rebase and cleanup of earlier BCM driver. The driver is named bnx2x because that is the name of the driver in Linux used for the same hardware. The code is rebased against 2.0 latest code base, and used config_fd from vfio or uio_pci_generic. It is also cleaned up to scrub away some of the obvious whitespace issues.
Stephen Hemminger (3): pci: allow access to PCI config space bnx2x: new poll mode driver bnx2x: enable BNX2X poll mode driver MAINTAINERS | 3 + config/common_linuxapp | 10 + lib/Makefile | 1 + lib/librte_eal/common/include/rte_pci.h | 28 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 30 + lib/librte_eal/linuxapp/eal/eal_pci.c | 48 + lib/librte_eal/linuxapp/eal/eal_pci_init.h | 11 + lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 14 + lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 16 + lib/librte_pmd_bnx2x/Makefile | 28 + lib/librte_pmd_bnx2x/bnx2x.c | 11816 +++++++++++++++++++ lib/librte_pmd_bnx2x/bnx2x.h | 1998 ++++ lib/librte_pmd_bnx2x/bnx2x_ethdev.c | 542 + lib/librte_pmd_bnx2x/bnx2x_ethdev.h | 79 + lib/librte_pmd_bnx2x/bnx2x_logs.h | 51 + lib/librte_pmd_bnx2x/bnx2x_rxtx.c | 487 + lib/librte_pmd_bnx2x/bnx2x_rxtx.h | 85 + lib/librte_pmd_bnx2x/bnx2x_stats.c | 1619 +++ lib/librte_pmd_bnx2x/bnx2x_stats.h | 632 + lib/librte_pmd_bnx2x/bnx2x_vfpf.c | 597 + lib/librte_pmd_bnx2x/bnx2x_vfpf.h | 315 + lib/librte_pmd_bnx2x/debug.c | 113 + lib/librte_pmd_bnx2x/ecore_fw_defs.h | 422 + lib/librte_pmd_bnx2x/ecore_hsi.h | 6348 ++++++++++ lib/librte_pmd_bnx2x/ecore_init.h | 841 ++ lib/librte_pmd_bnx2x/ecore_init_ops.h | 886 ++ lib/librte_pmd_bnx2x/ecore_mfw_req.h | 206 + lib/librte_pmd_bnx2x/ecore_reg.h | 3663 ++++++ lib/librte_pmd_bnx2x/ecore_sp.c | 5455 +++++++++ lib/librte_pmd_bnx2x/ecore_sp.h | 1795 +++ lib/librte_pmd_bnx2x/elink.c | 13378 ++++++++++++++++++++++ lib/librte_pmd_bnx2x/elink.h | 609 + mk/rte.app.mk | 8 + 33 files changed, 52134 insertions(+) create mode 100644 lib/librte_pmd_bnx2x/Makefile create mode 100644 lib/librte_pmd_bnx2x/bnx2x.c create mode 100644 lib/librte_pmd_bnx2x/bnx2x.h create mode 100644 lib/librte_pmd_bnx2x/bnx2x_ethdev.c create mode 100644 lib/librte_pmd_bnx2x/bnx2x_ethdev.h create mode 100644 lib/librte_pmd_bnx2x/bnx2x_logs.h create mode 100644 lib/librte_pmd_bnx2x/bnx2x_rxtx.c create mode 100644 lib/librte_pmd_bnx2x/bnx2x_rxtx.h create mode 100644 lib/librte_pmd_bnx2x/bnx2x_stats.c create mode 100644 lib/librte_pmd_bnx2x/bnx2x_stats.h create mode 100644 lib/librte_pmd_bnx2x/bnx2x_vfpf.c create mode 100644 lib/librte_pmd_bnx2x/bnx2x_vfpf.h create mode 100644 lib/librte_pmd_bnx2x/debug.c create mode 100644 lib/librte_pmd_bnx2x/ecore_fw_defs.h create mode 100644 lib/librte_pmd_bnx2x/ecore_hsi.h create mode 100644 lib/librte_pmd_bnx2x/ecore_init.h create mode 100644 lib/librte_pmd_bnx2x/ecore_init_ops.h create mode 100644 lib/librte_pmd_bnx2x/ecore_mfw_req.h create mode 100644 lib/librte_pmd_bnx2x/ecore_reg.h create mode 100644 lib/librte_pmd_bnx2x/ecore_sp.c create mode 100644 lib/librte_pmd_bnx2x/ecore_sp.h create mode 100644 lib/librte_pmd_bnx2x/elink.c create mode 100644 lib/librte_pmd_bnx2x/elink.h -- 2.1.4