[ovs-discuss] OVS+DPDK on CentOS 7

Ben Pfaff blp at ovn.org
Wed Jul 10 19:38:13 UTC 2019


On Wed, Jul 10, 2019 at 04:16:14PM -0300, Nicolas Vazquez wrote:
> Thank you both.
> 
> I tried replacing the OVS packages. Have bind NIC to DPDK support:
> # dpdk-devbind --status
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:02:04.0 '82545EM Gigabit Ethernet Controller (Copper) 100f'
> drv=igb_uio unused=
> 
> However whenever I try to add a DPDK vHost user port it fails:
> # ovs-vsctl add-port cloudbr0 test -- set Interface test type=dpdkvhostuser
> ovs-vsctl: Error detected while setting up 'test': could not add network
> device test to ofproto (Invalid argument).  See ovs-vswitchd log for
> details.
> ovs-vsctl: The default log directory is "/var/log/openvswitch".

Did you look in the log?

The above does *not* mean to run "ovs-vswitchd log", which is not going
to be helpful.

> # ovs-vswitchd log
> 2019-07-10T19:11:29Z|00001|ovs_numa|INFO|Discovered 3 CPU cores on NUMA
> node 0
> 2019-07-10T19:11:29Z|00002|ovs_numa|INFO|Discovered 1 NUMA nodes and 3 CPU
> cores
> 2019-07-10T19:11:29Z|00003|reconnect|INFO|log: connecting...
> 2019-07-10T19:11:29Z|00004|reconnect|INFO|log: connection attempt failed
> (Address family not supported by protocol)
> 2019-07-10T19:11:29Z|00005|reconnect|INFO|log: waiting 1 seconds before
> reconnect
> 2019-07-10T19:11:30Z|00006|reconnect|INFO|log: connecting...
> 2019-07-10T19:11:30Z|00007|reconnect|INFO|log: connection attempt failed
> (Address family not supported by protocol)
> 2019-07-10T19:11:30Z|00008|reconnect|INFO|log: waiting 2 seconds before
> reconnect



More information about the discuss mailing list