<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">My mistake :)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">Been checking the /var/run/openvswitch/ovs-vswitchd.log and found this is the error:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">2019-07-11T03:11:31.789Z|00226|netdev_dpdk|INFO|Socket /var/run/openvswitch/test created for vhost-user port test<br>2019-07-11T03:11:31.790Z|00227|dpif_netlink|WARN|system@ovs-system: cannot create port `test' because it has unsupported type `dpdkvhostuser'<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">I thought maybe DPDK was not being initialized properly but surprisingly noticed these earlier in the logs:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">2019-07-10T18:56:02.183Z|00039|dpdk|INFO|DPDK Enabled - initializing...<br>2019-07-10T18:56:02.183Z|00040|dpdk|INFO|No vhost-sock-dir provided - defaulting to /var/run/openvswitch<br>2019-07-10T18:56:02.183Z|00041|dpdk|INFO|EAL ARGS: ovs-vswitchd --socket-mem 1024,0 -c 0x00000001<br>2019-07-10T18:56:03.846Z|00042|dpdk|INFO|DPDK pdump packet capture enabled<br>2019-07-10T18:56:03.851Z|00043|dpdk|INFO|DPDK Enabled - initialized</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 10 jul. 2019 a las 16:38, Ben Pfaff (<<a href="mailto:blp@ovn.org">blp@ovn.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jul 10, 2019 at 04:16:14PM -0300, Nicolas Vazquez wrote:<br>
> Thank you both.<br>
> <br>
> I tried replacing the OVS packages. Have bind NIC to DPDK support:<br>
> # dpdk-devbind --status<br>
> <br>
> Network devices using DPDK-compatible driver<br>
> ============================================<br>
> 0000:02:04.0 '82545EM Gigabit Ethernet Controller (Copper) 100f'<br>
> drv=igb_uio unused=<br>
> <br>
> However whenever I try to add a DPDK vHost user port it fails:<br>
> # ovs-vsctl add-port cloudbr0 test -- set Interface test type=dpdkvhostuser<br>
> ovs-vsctl: Error detected while setting up 'test': could not add network<br>
> device test to ofproto (Invalid argument). See ovs-vswitchd log for<br>
> details.<br>
> ovs-vsctl: The default log directory is "/var/log/openvswitch".<br>
<br>
Did you look in the log?<br>
<br>
The above does *not* mean to run "ovs-vswitchd log", which is not going<br>
to be helpful.<br>
<br>
> # ovs-vswitchd log<br>
> 2019-07-10T19:11:29Z|00001|ovs_numa|INFO|Discovered 3 CPU cores on NUMA<br>
> node 0<br>
> 2019-07-10T19:11:29Z|00002|ovs_numa|INFO|Discovered 1 NUMA nodes and 3 CPU<br>
> cores<br>
> 2019-07-10T19:11:29Z|00003|reconnect|INFO|log: connecting...<br>
> 2019-07-10T19:11:29Z|00004|reconnect|INFO|log: connection attempt failed<br>
> (Address family not supported by protocol)<br>
> 2019-07-10T19:11:29Z|00005|reconnect|INFO|log: waiting 1 seconds before<br>
> reconnect<br>
> 2019-07-10T19:11:30Z|00006|reconnect|INFO|log: connecting...<br>
> 2019-07-10T19:11:30Z|00007|reconnect|INFO|log: connection attempt failed<br>
> (Address family not supported by protocol)<br>
> 2019-07-10T19:11:30Z|00008|reconnect|INFO|log: waiting 2 seconds before<br>
> reconnect<br>
<br>
</blockquote></div>