DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 371] mlx5: failed to probe the port at testpmd (DPDK 19.11-rc3)
Date: Mon, 25 Nov 2019 08:30:57 +0000	[thread overview]
Message-ID: <bug-371-3@http.bugs.dpdk.org/> (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: 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.

                 reply	other threads:[~2019-11-25  8:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-371-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).