DPDK usage discussions
 help / color / mirror / Atom feed
From: Timur Bogdanov <timurbogdanov@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Unable to launch testpmd with Mellanox ConnectX-3 Pro NIC
Date: Tue, 16 Jan 2018 18:59:31 +0300	[thread overview]
Message-ID: <CAFSCPKuV_nRi3X3n+Z0stEKNA91w2-YgcZ62O3-T79dHXT-mUQ@mail.gmail.com> (raw)

Hi,

I'm trying to use dpdk with Mellanox ConnectX-3 Pro NIC.
I built PMD for it according to instructions on
"http://dpdk.org/doc/guides/nics/mlx4.html" and tried to launch
testpmd app but got following error:

[tim@centos]$ sudo ./testpmd -c 0x03 -n 2 -w 0000:b3:00.0 -- --rxq=2 --txq=2 -i

EAL: Detected 36 lcore(s)

EAL: Probing VFIO support...

EAL: PCI device 0000:b3:00.0 on NUMA socket 0

EAL:   probe driver: 15b3:1007 net_mlx4

PMD: net_mlx4: PCI information matches, using device "mlx4_0" (VF: false)

PMD: net_mlx4: 1 port(s) detected

PMD: net_mlx4: port 1 MAC address is ec:0d:9a:17:4a:00

Interactive-mode selected

USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=155456,
size=2176, socket=0

Configuring Port 0 (socket 0)

PMD: net_mlx4: 0xda13c0: cannot attach flow rules (code 95, "Operation
not supported"), flow error type 2, cause 0x7f2869cdab80, message:
flow rule rejected by device

Fail to start port 0

Please stop the ports first

Done

testpmd> quit


Additional information:

OS: CentOs 7.4
kernel: 4.14.13-1.el7.elrepo.x86_64
rdma-core v16 has been built from sources with rpmbuild and installed:

ibacm-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   21680 янв 16 14:24 iwpmd-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   11044 янв 16 14:24 libibcm-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   18008 янв 16 14:24
libibumad-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root  220272 янв 16 14:24
libibverbs-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   53096 янв 16 14:24
libibverbs-utils-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   58020 янв 16 14:24
librdmacm-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   78184 янв 16 14:24
librdmacm-utils-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   55308 янв 16 14:24
rdma-core-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root 1883624 янв 16 14:24
rdma-core-debuginfo-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root  211728 янв 16 14:24
rdma-core-devel-16.1-1.el7.centos.x86_64.rpm

-rw-r--r-- 1 root root   35484 янв 16 14:24
srp_daemon-16.1-1.el7.centos.x86_64.rpm

--------------------
output of lspci command for mellanox:

*-network

       description: Ethernet interface

       product: MT27520 Family [ConnectX-3 Pro]

       vendor: Mellanox Technologies

       physical id: 0

       bus info: pci@0000:b3:00.0

       logical name: eth5

       version: 00

       serial: ec:0d:9a:17:4a:00

       size: 10Gbit/s

       width: 64 bits

       clock: 33MHz

       capabilities: bus_master cap_list rom ethernet physical fibre

       configuration: autonegotiation=off broadcast=yes driver=mlx4_en
driverversion=4.0-0 duplex=full firmware=2.40.5030 latency=0 link=yes
multicast=yes port=fibre slave=yes speed=10Gbit/s

       resources: iomemory:38ff0-38fef irq:38 memory:fbe00000-fbefffff
memory:38ffff800000-38ffffffffff memory:fbd00000-fbdfffff


What can be the reason of testpmd does not start correctly?

/Regards, Timur

             reply	other threads:[~2018-01-16 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 15:59 Timur Bogdanov [this message]
2018-01-18  8:48 ` Adrien Mazarguil
2018-01-18 12:11   ` Timur Bogdanov
2018-01-18 15:05     ` Adrien Mazarguil
2018-01-19 11:10       ` Timur Bogdanov
2018-01-20 19:10         ` Timur Bogdanov

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=CAFSCPKuV_nRi3X3n+Z0stEKNA91w2-YgcZ62O3-T79dHXT-mUQ@mail.gmail.com \
    --to=timurbogdanov@gmail.com \
    --cc=users@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).