From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by dpdk.org (Postfix) with ESMTP id AFE821B2A5 for ; Tue, 16 Jan 2018 16:59:32 +0100 (CET) Received: by mail-oi0-f49.google.com with SMTP id j129so10914151oib.12 for ; Tue, 16 Jan 2018 07:59:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=MYKGDZH9EgIk0ld6P8ymZBUH0IrTX2kVpPv18pi66YA=; b=EtM3oRL9kBioN4opk4IWai67jM7NeorudtYBVYmu7OLJVQVlR3gnOI9gM6N1Qeq25T kum59xDD7O/KqcLb3ZNSBdh/QY3fm67KmQCRdE9/EecIJz4c10V3DgKI1Zt+CqB8yJ9H Uq87ZdF2HWHPnsHET6HKoHZQ3sb8YwJPxWHp9ztaaRFHhJc/0Xr5StYpOwCCyjBsBlXz skooHtmg0L7h2En10Mh8ieXIRpAS9XgvG6UO0WXpKeyBf/mJC7Ehl1eme/wMRwbUGKNn X1gHlkliynoFUoqSuTpZMD2xnbcDw5e2JRY5SliH8QwB6A3zVkWuo57oe2B3hUUr4HcH Gq7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=MYKGDZH9EgIk0ld6P8ymZBUH0IrTX2kVpPv18pi66YA=; b=UdKSSu2Gn18VtI1C7oLhPNvTMX9lyzKxPT9oyTbdf3ajlgPY3wi4idWCeI8LQtmbda tN6icXwRdEDDA9cibwj6g4dD8E0OOM36wg17CV4e2uN+zM5N0gngqSzCpB2uNMaxWYdb +N2BPPb3JuboysJBR8evtW5Z8M04PXhQIkLV/tgos1W/hipJ9mRv7Qphn6CkUMMq7yF8 9PW7OJ6Jdu/ARWtVwFX4g7Oc6XP0vpfKxwqYknENQZMEQz+xcp6okpk2DEEyFwJ9/Ss5 CcB81FbEs+Lagi6ag/Dp5gro+TXTV3KEORGKcpAGIXFZulBG0QdHbCt5c+BEQBjnAFLd w+VQ== X-Gm-Message-State: AKwxytfOpWVTKQM/Wy3brT6nrnpeGG1ZbsjzexHo6gjejKzyhoQ+AHGX t2yd+0udXZ0fUmNF0VzJjmDWSD3hMSaWQPvfZJK3MQ== X-Google-Smtp-Source: ACJfBotdsYyEtrMphqv5rBmcJMAeFfAYcLSI4tuFTBAc0rjhqzshXScjnVivk/sntYJ7k+6B8zxUrJPJ2A8UUUf9Fl0= X-Received: by 10.202.7.2 with SMTP id 2mr9888125oih.102.1516118371735; Tue, 16 Jan 2018 07:59:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.67.141 with HTTP; Tue, 16 Jan 2018 07:59:31 -0800 (PST) From: Timur Bogdanov Date: Tue, 16 Jan 2018 18:59:31 +0300 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Wed, 17 Jan 2018 23:36:15 +0100 Subject: [dpdk-users] Unable to launch testpmd with Mellanox ConnectX-3 Pro NIC X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 15:59:32 -0000 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=3D2 --tx= q=3D2 -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 : n=3D155456, size=3D2176, socket=3D0 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 =D1=8F=D0=BD=D0=B2 16 14:24 iwpmd-16.1-1.el7= .centos.x86_64.rpm -rw-r--r-- 1 root root 11044 =D1=8F=D0=BD=D0=B2 16 14:24 libibcm-16.1-1.e= l7.centos.x86_64.rpm -rw-r--r-- 1 root root 18008 =D1=8F=D0=BD=D0=B2 16 14:24 libibumad-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 220272 =D1=8F=D0=BD=D0=B2 16 14:24 libibverbs-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 53096 =D1=8F=D0=BD=D0=B2 16 14:24 libibverbs-utils-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 58020 =D1=8F=D0=BD=D0=B2 16 14:24 librdmacm-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 78184 =D1=8F=D0=BD=D0=B2 16 14:24 librdmacm-utils-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 55308 =D1=8F=D0=BD=D0=B2 16 14:24 rdma-core-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 1883624 =D1=8F=D0=BD=D0=B2 16 14:24 rdma-core-debuginfo-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 211728 =D1=8F=D0=BD=D0=B2 16 14:24 rdma-core-devel-16.1-1.el7.centos.x86_64.rpm -rw-r--r-- 1 root root 35484 =D1=8F=D0=BD=D0=B2 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=3Doff broadcast=3Dyes driver=3Dmlx4_e= n driverversion=3D4.0-0 duplex=3Dfull firmware=3D2.40.5030 latency=3D0 link= =3Dyes multicast=3Dyes port=3Dfibre slave=3Dyes speed=3D10Gbit/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