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 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:[email protected]] > Sent: Monday, 19 February, 2018 2:58 PM > To: Avi Cohen (A); [email protected] > 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: [email protected] [mailto:ovs-discuss- > [email protected]] On Behalf Of Avi Cohen (A) > Sent: Monday, February 19, 2018 2:33 PM > To: [email protected] > 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 > [email protected] > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.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 [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
