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%2Fmail.openvswitch.org%2Fmailman%2Flistinfo%2Fovs-discuss&data=02%7C01%7Colgas%40mellanox.com%7Cf91254be9a904a48d52508d57794fdf6%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636546404170173730&sdata=eYSbGlSDbizK%2Fdz8CKpfiRQDj4mqnrKugSuYk5Fi2M4%3D&reserved=0
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to