[dpdk-users] Unable to launch testpmd with Mellanox ConnectX-3 Pro NIC
Timur Bogdanov
timurbogdanov at gmail.com
Tue Jan 16 16:59:31 CET 2018
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 at 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 at 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
More information about the users
mailing list