Please refer to mlx5 DPDK guide: http://dpdk.org/doc/guides-17.11/nics/mlx5.html
-----Original Message----- From: Avi Cohen (A) [mailto:avi.co...@huawei.com] Sent: Monday, February 19, 2018 3:51 PM To: Olga Shern <ol...@mellanox.com>; ovs-discuss@openvswitch.org Subject: RE: ovs-dpdk cannot add a dpdk mellanox port Olga Now I have compilation error /home/avi/dpdk-17.08/drivers/net/mlx5/mlx5_rxtx.h:46:32: fatal error: infiniband/mlx5_hw.h: No such file or directory > -----Original Message----- > From: Avi Cohen (A) > Sent: Monday, 19 February, 2018 3:41 PM > To: 'Olga Shern'; ovs-discuss@openvswitch.org > Subject: RE: ovs-dpdk cannot add a dpdk mellanox port > > Ohh. - I've downgrade to 17.08 (from 17.11) and forgot to set this flag . > checking now... > > > -----Original Message----- > > From: Olga Shern [mailto:ol...@mellanox.com] > > Sent: Monday, 19 February, 2018 3:26 PM > > To: Avi Cohen (A); ovs-discuss@openvswitch.org > > Subject: RE: ovs-dpdk cannot add a dpdk mellanox port > > > > Did you compile DPDK with mlx5 PMD enabled? > > > > -----Original Message----- > > From: Avi Cohen (A) [mailto:avi.co...@huawei.com] > > Sent: Monday, February 19, 2018 3:20 PM > > To: Olga Shern <ol...@mellanox.com>; ovs-discuss@openvswitch.org > > Subject: RE: ovs-dpdk cannot add a dpdk mellanox port > > > > Thank you Olga > > I did specify the port name as ibv_devinfo output - but still I'm > > getting error > > msg: > > > > > > Feb 19 15:16:03 Pizza05 ovs-vsctl: ovs|00001|vsctl|INFO|Called as > > ovs-vsctl -- timeout 10 add-port br-phy dpdk0 -- set Interface dpdk0 > > type=dpdk > > options:dpdk-devargs=mlx5_0 Feb 19 15:16:03 Pizza05 ovs-vswitchd[29371]: > > ovs|00044|dpdk|ERR|EAL: Unable to find a bus for the device 'mlx5_0' > > Feb 19 15:16:03 Pizza05 ovs-vswitchd[29371]: > > ovs|00045|netdev_dpdk|WARN|Error attaching device 'mlx5_0' to DPDK > > ovs|00045|Feb > > 19 15:16:03 Pizza05 ovs-vswitchd[29371]: ovs|00046|netdev|WARN|dpdk0: > > could not set configuration (Invalid argument > > > > Best Regards > > Avi > > > > > -----Original Message----- > > > From: Olga Shern [mailto:ol...@mellanox.com] > > > Sent: Monday, 19 February, 2018 2:58 PM > > > To: Avi Cohen (A); ovs-discuss@openvswitch.org > > > Subject: RE: ovs-dpdk cannot add a dpdk mellanox port > > > > > > Hi Avi, > > > > > > Please try the following command ovs-vsctl --timeout 10 add-port br-phy > > > dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=mlx5_0 > > > > > > You need to specify port name, mlx5_0 or mlx5_1 according > > > ibv_devinfo output > > > > > > Starting DPDK 18.02 and 17.11.2 you will be able to use PCI > > > address as OVS devargs parameters. > > > > > > Best Regards, > > > Olga > > > > > > -----Original Message----- > > > From: ovs-discuss-boun...@openvswitch.org [mailto:ovs-discuss- > > > boun...@openvswitch.org] On Behalf Of Avi Cohen (A) > > > Sent: Monday, February 19, 2018 2:33 PM > > > To: ovs-discuss@openvswitch.org > > > Subject: [ovs-discuss] ovs-dpdk cannot add a dpdk mellanox port > > > > > > Hi > > > I cannot add mellanox dpdk port - and I don't find any reference > > > for this for new ovs versions I get an error message when typing > > > this > command > > > ovs-vsctl --timeout 10 add-port br-phy dpdk0 -- set Interface dpdk0 > > type=dpdk > > > options:dpdk-devargs=0000:04:00:0 > > > I'm running: > > > Openvswitch 2.8.1 ; dpdk-17.08 ' mellanox - connectx-4 > > > > > > Best Regards > > > Avi > > > _______________________________________________ > > > discuss mailing list > > > disc...@openvswitch.org > > > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2 > > > Fm > > > ai > > > l.op > > > envswitch.org%2Fmailman%2Flistinfo%2Fovs- > > > > > > discuss&data=02%7C01%7Colgas%40mellanox.com%7Cf91254be9a904a48d525 > > > > > > 08d57794fdf6%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636546 > > > > > > 404170173730&sdata=eYSbGlSDbizK%2Fdz8CKpfiRQDj4mqnrKugSuYk5Fi2M4%3 > > > D&reserved=0 _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss