[ovs-discuss] OVS+DPDK on CentOS 7

Nicolas Vazquez nicovazquez90 at gmail.com
Wed Jul 10 19:16:14 UTC 2019

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
ovs-vsctl: The default log directory is "/var/log/openvswitch".

# 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
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
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

El mié., 10 jul. 2019 a las 12:55, Ben Pfaff (<blp at ovn.org>) escribió:

> On Wed, Jul 10, 2019 at 10:30:12AM -0300, Nicolas Vazquez wrote:
> > I've been trying to extend an existing OVS installation on CentOS 7 to
> > support DPDK, but could not find a way without a clean install. Is it
> > possible to configure OVS with DPDK without reinstalling it? [1]
> >
> > # ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
> > # ovs-vsctl get Open_vSwitch . dpdk_initialized
> > ovs-vsctl: Open_vSwitch does not contain a column whose name matches
> > "dpdk_initialized"
> It sounds like you might need to upgrade the database.  The OVS
> installation guide has instructions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190710/b0201603/attachment-0001.html>

More information about the discuss mailing list