Hi Team,
I am using DPDK 18.11 and Bluefield 2 indeed built with CONFIG_RTE_LIBRTE_MLX5_PMD
santhanagesa@buildcontainer:/baas/santhanagesa/nagvol4/dpdk-18.11-final/dpdk-18.11$ grep -r CONFIG_RTE_LIBRTE_MLX5_PMD=y .
./doc/guides/nics/mlx5.rst: be enabled manually by setting ``CONFIG_RTE_LIBRTE_MLX5_PMD=y`` and
./config/common_base:CONFIG_RTE_LIBRTE_MLX5_PMD=y
./build/.config.orig:CONFIG_RTE_LIBRTE_MLX5_PMD=y
./build/.config:CONFIG_RTE_LIBRTE_MLX5_PMD=y
root@localhost:/home/ubuntu/dpdk-stable-21.11.2# lspci | grep ConnectX-6
03:00.0 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
03:00.1 Ethernet controller: Mellanox Technologies MT42822 BlueField-2 integrated ConnectX-6 Dx network controller (rev 01)
root@localhost:/home/ubuntu/dpdk-stable-21.11.2# ethtool -i p0
driver: mlx5_core
version: 5.7-1.0.2
firmware-version: 24.34.1002 (MT_0000000702)
expansion-rom-version:
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes
with DPDK 18.11 testpmd is unable to probe the devices but testpmd with DPDK 21.11.2 is working fine.
Below is the working version with DPDK 21.11.2
root@localhost:/home/ubuntu/dpdk-stable-21.11.2# /opt/mellanox/dpdk/bin/dpdk-testpmd -w 03:00.0 -w 03:00.1,representor=[0,65535] -- --total-num-mbufs=100000 -i -a
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Device is not NUMA-aware, defaulting socket to 0
EAL: Probe PCI driver: mlx5_pci (15b3:a2d6) device: 0000:03:00.0 (socket 0)
EAL: Device is not NUMA-aware, defaulting socket to 0
EAL: Probe PCI driver: mlx5_pci (15b3:a2d6) device: 0000:03:00.1 (socket 0)
Interactive-mode selected
Auto-start selected
testpmd: create a new mbuf pool <mb_pool_0>: n=100000, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: B8:CE:F6:CC:6C:42
Configuring Port 1 (socket 0)
^[[BPort 1: B8:CE:F6:CC:6C:43
Configuring Port 2 (socket 0)
Port 2: 2A:A7:93:0D:31:2D
Checking link statuses...
is DPDK 18.11 is supported version for ConnectX-6 ? If so can you provide some pointers to debug this issue further ?