Skip to contentSkip to conversation

mlx5: failed to probe the port at testpmd (DPDK 19.11-rc3)

dpdk-dev [email protected] 1 participant 1 message Nov 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=371

            Bug ID: 371
           Summary: mlx5: failed to probe the port at testpmd (DPDK
                    19.11-rc3)
           Product: DPDK
           Version: unspecified
          Hardware: ARM
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: testpmd
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Linux 4.15.0-45-generic aarch64
gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic

1. Get and build the latest code (19.11-rc3),
c143928d8977f9d118078a0e6545d9058bbdbe52

2. Add the MLX5 compile option

(quoted diff) +0 -0

b/config/defconfig_arm64-armv8a-linuxapp-gcc
index 58c4a4029..46384517d 100644

config/defconfig_arm64-armv8a-linuxapp-gcc +2 -0
@@ -7,3 +7,6 @@
 CONFIG_RTE_TOOLCHAIN="gcc"
 CONFIG_RTE_TOOLCHAIN_GCC=y
 CONFIG_RTE_MAX_LCORE=256
+CONFIT_RTE_CACHE_LINE_SIZE=64
+CONFIG_RTE_LIBRTE_MLX5_PMD=y

3. Run testpmd app
the Mellanox port can't be probed.

But the version: 19.11-rc2 works file.

./arm64-armv8a-linuxapp-gcc/app/testpmd -c 0xfffffff8 -n 8 -w 0000:01:00.0 -- -i --nb-cores=16 --burst=64 --rss-ip --txq=16 --rxq=16 --mbcache=512 --rxd=1024 --txd=1024

EAL: Detected 32 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: PCI device 0000:01:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15b3:1019 net_mlx5

Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=606208, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mcWarning! port-topology=paired and odd forward ports number, the last port will pair with itself.Configuring Port 0 (socket 0)
Fail to start port 0
Please stop the ports first
Done

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.