DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 371] mlx5: failed to probe the port at testpmd (DPDK 19.11-rc3)
@ 2019-11-25  8:30 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2019-11-25  8:30 UTC (permalink / raw)
  To: dev

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: dev@dpdk.org
          Reporter: jerryhao@os.amperecomputing.com
  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
diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc
b/config/defconfig_arm64-armv8a-linuxapp-gcc
index 58c4a4029..46384517d 100644
--- a/config/defconfig_arm64-armv8a-linuxapp-gcc
+++ b/config/defconfig_arm64-armv8a-linuxapp-gcc
@@ -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

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-25  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25  8:30 [dpdk-dev] [Bug 371] mlx5: failed to probe the port at testpmd (DPDK 19.11-rc3) bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).