From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alias.ognet.se (alias.ognet.se [83.168.200.39]) by dpdk.org (Postfix) with ESMTP id B822B1E4E0 for ; Mon, 11 Jun 2018 11:15:28 +0200 (CEST) Received: from mb01.staff.ognet.se (unknown [172.16.84.36]) by alias.ognet.se (Postfix) with ESMTP id CDAA93A0785 for ; Mon, 11 Jun 2018 11:15:25 +0200 (CEST) Received: from mb01.staff.ognet.se (172.16.84.36) by mb01.staff.ognet.se (172.16.84.36) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Mon, 11 Jun 2018 11:15:27 +0200 Received: from mb01.staff.ognet.se ([::1]) by mb01.staff.ognet.se ([::1]) with mapi id 15.00.1076.000; Mon, 11 Jun 2018 11:15:27 +0200 From: Tobias Urdin To: "users@dpdk.org" Thread-Topic: mellanox connect-x 3 pro dpdk with openvswitch Thread-Index: AQHUAWS7R3W3niTO80uPqAeUNBbI0g== Date: Mon, 11 Jun 2018 09:15:26 +0000 Message-ID: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.16.80.35] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] mellanox connect-x 3 pro dpdk with openvswitch 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: Mon, 11 Jun 2018 09:15:28 -0000 Hello, I'm stuck trying to test DPDK with a Mellanox Connect-X 3 Pro card on Ubunt= u 16.04 I've enabled iommu, fixed hugepages and has installed and are running the o= penvswitch-switch-dpdk alternative. $lspci | grep -i mellanox 3b:00.0 Ethernet controller: Mellanox Technologies MT27520 Family [ConnectX= -3 Pro] $lsmod | grep -i mlx mlx4_en 110592 0 vxlan 49152 2 i40e,mlx4_en mlx4_core 286720 1 mlx4_en ptp 20480 3 igb,i40e,mlx4_en $cat /etc/modprobe.d/mlx4_core.conf options mlx4_core log_num_mgm_entry_size=3D-1 $ovs-vsctl add-port br-mlx dpdk0 -- set Interface dpdk0 type=3Ddpdk Bridge br-mlx Port "dpdk0" Interface "dpdk0" type: dpdk error: "'dpdk0' is missing 'options:dpdk-devargs'. The old = 'dpdk' names are not supported" $ovs-vsctl add-port br-mlx enp59s0d1 -- set Interface enp59s0d1 type=3Ddpdk= options:dpdk-devargs=3D0000:3b:00.0,1 ovs-vsctl: Error detected while setting up 'enp59s0d1': Error attaching dev= ice '0000:3b:00.0,1' to DPDK. See ovs-vswitchd log for details. ovs-vsctl: The default log directory is "/var/log/openvswitch". 2018-06-11T09:10:38.696Z|00177|netdev_dpdk|WARN|Error attaching device '000= 0:3b:00.0,1' to DPDK 2018-06-11T09:10:38.696Z|00178|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) 2018-06-11T09:12:50.994Z|00181|dpdk|ERR|EAL: Driver cannot attach the devic= e (0000:3b:00.0) 2018-06-11T09:12:50.994Z|00182|dpdk|ERR|EAL: No port found for device (0000= :3b:00.0) 2018-06-11T09:12:50.994Z|00183|netdev_dpdk|WARN|Error attaching device '000= 0:3b:00.0,1' to DPDK 2018-06-11T09:12:50.994Z|00184|netdev|WARN|enp59s0d1: could not set configu= ration (Invalid argument) $ovs-vsctl add-port br-mlx dpdk0 -- set Interface dpdk0 type=3Ddpdk options= :dpdk-devargs=3D"class=3Deth,mac=3Dec:0d:9a:b0:13:21" ovs-vsctl: Error detected while setting up 'dpdk0': Error attaching device = 'class=3Deth,mac=3Dec:0d:9a:b0:13:21' to DPDK. See ovs-vswitchd log for de= tails. ovs-vsctl: The default log directory is "/var/log/openvswitch". Port "dpdk0" Interface "dpdk0" type: dpdk options: {dpdk-devargs=3D"class=3Deth,mac=3Dec:0d:9a:b0:13:= 21"} error: "Error attaching device 'class=3Deth,mac=3Dec:0d:9a:= b0:13:21' to DPDK" Anybody know what I might have missed? I have tried restarting the openvswi= tch services after adding the interfaces as well but no difference. The logs doesn't say anything interesting from what I can see :( Best regards