[dpdk-dev] net/bnx2x: Qlogic nic card support (1077:16a1)

Dey, Souvik sodey at rbbn.com
Mon Oct 5 20:13:57 CEST 2020


Hi All,
      I see that the linux bnx2x driver supports the following vendor id : device id


  *   vendor: 1077 ("QLogic Corp."), device: 16a1
  *   vendor: 1077 ("QLogic Corp."), device: 16a4
  *   vendor: 1077 ("QLogic Corp."), device: 16ad

but this are not supported by the bnx2x_pmd. This combination is not even supported by the qede_pmd. Does this mean that this device is not supported by dpdk even though linux driver supports it ? I am currently using 18.11.10 dpdk version but did check the latest code too and don't see this devices supported. Can you please update me on this. We are trying to using the HPE FlxFbrc 10Gb 4p 536FLR-T Adptr( specs<https://h20195.www2.hpe.com/v2/GetPDF.aspx/c04939487.pdfQuickSpecs>), the 57840S 10 Gb Ethernet controller f in a PCIe 3.0 compliant form factor designed for HPE ProLiant servers.
lspci -nnn | grep Ether
04:00.0 Ethernet controller [0200]: QLogic Corp. Device [1077:16a1] (rev 11)
04:00.1 Ethernet controller [0200]: QLogic Corp. Device [1077:16a1] (rev 11)
04:00.2 Ethernet controller [0200]: QLogic Corp. Device [1077:16a1] (rev 11)
04:00.3 Ethernet controller [0200]: QLogic Corp. Device [1077:16a1] (rev 11)
04:01.0 Ethernet controller [0200]: QLogic Corp. Device [1077:16ad]
04:01.1 Ethernet controller [0200]: QLogic Corp. Device [1077:16ad]
04:01.2 Ethernet controller [0200]: QLogic Corp. Device [1077:16ad]
04:01.3 Ethernet controller [0200]: QLogic Corp. Device [1077:16ad]

Kernel code :
drivers<https://elixir.bootlin.com/linux/latest/source/drivers>/net<https://elixir.bootlin.com/linux/latest/source/drivers/net>/ethernet<https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet>/broadcom<https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet/broadcom>/bnx2x<https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet/broadcom/bnx2x>/bnx2x_main.c<https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c>

{ PCI_VDEVICE<https://elixir.bootlin.com/linux/latest/C/ident/PCI_VDEVICE>(BROADCOM, PCI_DEVICE_ID_NX2_57840_4_10<https://elixir.bootlin.com/linux/latest/C/ident/PCI_DEVICE_ID_NX2_57840_4_10>), BCM57840_4_10<https://elixir.bootlin.com/linux/latest/C/ident/BCM57840_4_10> },

{ PCI_VDEVICE<https://elixir.bootlin.com/linux/latest/C/ident/PCI_VDEVICE>(QLOGIC<https://elixir.bootlin.com/linux/latest/C/ident/QLOGIC>,       PCI_DEVICE_ID_NX2_57840_4_10<https://elixir.bootlin.com/linux/latest/C/ident/PCI_DEVICE_ID_NX2_57840_4_10>), BCM57840_4_10<https://elixir.bootlin.com/linux/latest/C/ident/BCM57840_4_10> },

{ PCI_VDEVICE<https://elixir.bootlin.com/linux/latest/C/ident/PCI_VDEVICE>(BROADCOM, PCI_DEVICE_ID_NX2_57840_MF<https://elixir.bootlin.com/linux/latest/C/ident/PCI_DEVICE_ID_NX2_57840_MF>), BCM57840_MF<https://elixir.bootlin.com/linux/latest/C/ident/BCM57840_MF> },

{ PCI_VDEVICE<https://elixir.bootlin.com/linux/latest/C/ident/PCI_VDEVICE>(QLOGIC<https://elixir.bootlin.com/linux/latest/C/ident/QLOGIC>,       PCI_DEVICE_ID_NX2_57840_MF<https://elixir.bootlin.com/linux/latest/C/ident/PCI_DEVICE_ID_NX2_57840_MF>), BCM57840_MF<https://elixir.bootlin.com/linux/latest/C/ident/BCM57840_MF> },

{ PCI_VDEVICE<https://elixir.bootlin.com/linux/latest/C/ident/PCI_VDEVICE>(BROADCOM, PCI_DEVICE_ID_NX2_57840_VF<https://elixir.bootlin.com/linux/latest/C/ident/PCI_DEVICE_ID_NX2_57840_VF>), BCM57840_VF<https://elixir.bootlin.com/linux/latest/C/ident/BCM57840_VF> },

{ PCI_VDEVICE<https://elixir.bootlin.com/linux/latest/C/ident/PCI_VDEVICE>(QLOGIC<https://elixir.bootlin.com/linux/latest/C/ident/QLOGIC>,       PCI_DEVICE_ID_NX2_57840_VF<https://elixir.bootlin.com/linux/latest/C/ident/PCI_DEVICE_ID_NX2_57840_VF>), BCM57840_VF<https://elixir.bootlin.com/linux/latest/C/ident/BCM57840_VF> },

DPDK code:
net/bnx2x_ethdev.c
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_4_10) },
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_MF) },
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_VF) },

Are we missing the vendor id in the dpdk code which is causing this or there are more changes required to support this card ?
Thanks in advance for the help. Racing against time to support this card, so any prompt reply will be highly appreciated.

--
Regards,
Souvik


More information about the dev mailing list