Skip to content

Broadcom 10G NIC Poll Mode Driver

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pci: allow access to PCI config spacelib/librte_eal/common/include/rte_pci.h lib/librte_eal/linuxapp/eal/eal_pci.c lib/librte_eal/linuxapp/eal/eal_pci_uio.c +1 more+56 -03 replies
2/4bcm: add BCM pci device idslib/librte_eal/common/include/rte_pci_dev_ids.h+30 -00 replies
3/4bcm: new poll mode driverlib/Makefile lib/librte_pmd_bcm/Makefile lib/librte_pmd_bcm/bcm.c +21 more+51977 -00 replies
4/4bcm: enable BCM poll mode driver in configconfig/common_linuxapp+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Broadcom 10G NIC Poll Mode Driver

From: Stephen Hemminger <[email protected]>

These are the patches to enable supporting the Broadcom NetExtreme II 10G devices (show up as bnx2x on Linux).

The driver has only been tested on Linux, there maybe issues with firmware loading and PCI config access on BSD.

Stephen Hemminger (4):
pci: allow access to PCI config space
bcm: add BCM pci device ids
bcm: new poll mode driver
bcm: enable BCM poll mode driver in config

 config/common_linuxapp                          |    10 +
 lib/Makefile                                    |     1 +
 lib/librte_eal/common/include/rte_pci.h         |    29 +
 lib/librte_eal/common/include/rte_pci_dev_ids.h |    30 +
 lib/librte_eal/linuxapp/eal/eal_pci.c           |    15 +
 lib/librte_eal/linuxapp/eal/eal_pci_uio.c       |    10 +
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |     2 +
 lib/librte_pmd_bcm/Makefile                     |    28 +
 lib/librte_pmd_bcm/bcm.c                        | 11817 +++++++++++++++++++
 lib/librte_pmd_bcm/bcm.h                        |  1998 ++++
 lib/librte_pmd_bcm/bcm_ethdev.c                 |   544 +
 lib/librte_pmd_bcm/bcm_ethdev.h                 |    79 +
 lib/librte_pmd_bcm/bcm_logs.h                   |    51 +
 lib/librte_pmd_bcm/bcm_rxtx.c                   |   487 +
 lib/librte_pmd_bcm/bcm_rxtx.h                   |    85 +
 lib/librte_pmd_bcm/bcm_stats.c                  |  1619 +++
 lib/librte_pmd_bcm/bcm_stats.h                  |   633 +
 lib/librte_pmd_bcm/bcm_vfpf.c                   |   597 +
 lib/librte_pmd_bcm/bcm_vfpf.h                   |   315 +
 lib/librte_pmd_bcm/debug.c                      |   113 +
 lib/librte_pmd_bcm/ecore_fw_defs.h              |   423 +
 lib/librte_pmd_bcm/ecore_hsi.h                  |  6349 ++++++++++
 lib/librte_pmd_bcm/ecore_init.h                 |   842 ++
 lib/librte_pmd_bcm/ecore_init_ops.h             |   886 ++
 lib/librte_pmd_bcm/ecore_mfw_req.h              |   207 +
 lib/librte_pmd_bcm/ecore_reg.h                  |  3664 ++++++
 lib/librte_pmd_bcm/ecore_sp.c                   |  5455 +++++++++
 lib/librte_pmd_bcm/ecore_sp.h                   |  1796 +++
 lib/librte_pmd_bcm/elink.c                      | 13378 ++++++++++++++++++++++
 lib/librte_pmd_bcm/elink.h                      |   610 +
 30 files changed, 52073 insertions(+)
 create mode 100644 lib/librte_pmd_bcm/Makefile
 create mode 100644 lib/librte_pmd_bcm/bcm.c
 create mode 100644 lib/librte_pmd_bcm/bcm.h
 create mode 100644 lib/librte_pmd_bcm/bcm_ethdev.c
 create mode 100644 lib/librte_pmd_bcm/bcm_ethdev.h
 create mode 100644 lib/librte_pmd_bcm/bcm_logs.h
 create mode 100644 lib/librte_pmd_bcm/bcm_rxtx.c
 create mode 100644 lib/librte_pmd_bcm/bcm_rxtx.h
 create mode 100644 lib/librte_pmd_bcm/bcm_stats.c
 create mode 100644 lib/librte_pmd_bcm/bcm_stats.h
 create mode 100644 lib/librte_pmd_bcm/bcm_vfpf.c
 create mode 100644 lib/librte_pmd_bcm/bcm_vfpf.h
 create mode 100644 lib/librte_pmd_bcm/debug.c
 create mode 100644 lib/librte_pmd_bcm/ecore_fw_defs.h
 create mode 100644 lib/librte_pmd_bcm/ecore_hsi.h
 create mode 100644 lib/librte_pmd_bcm/ecore_init.h
 create mode 100644 lib/librte_pmd_bcm/ecore_init_ops.h
 create mode 100644 lib/librte_pmd_bcm/ecore_mfw_req.h
 create mode 100644 lib/librte_pmd_bcm/ecore_reg.h
 create mode 100644 lib/librte_pmd_bcm/ecore_sp.c
 create mode 100644 lib/librte_pmd_bcm/ecore_sp.h
 create mode 100644 lib/librte_pmd_bcm/elink.c
 create mode 100644 lib/librte_pmd_bcm/elink.h
Signature · 1 line
2.1.4