[ovs-discuss] ovs-vsctl adding dpdk ports hangs

Guru Shetty guru at ovn.org
Fri Mar 24 17:08:47 UTC 2017


On 23 March 2017 at 22:36, Shivaram Mysore <shivaram.mysore at gmail.com>
wrote:

> One more data point:
>
> I *CNTRL-C* the command ovs-vsctl add-port
>
> ^C2017-03-24T05:25:30Z|00002|fatal_signal|WARN|terminating with signal 2
> (Interrupt)
>
>
> # *ovs-vsctl show*
> 0a0e3abd-c1de-40fd-bc14-9a8edb89982d
>     Bridge "ovs-br0"
>         Port "ovs-br0"
>             Interface "ovs-br0"
>                 type: internal
>         Port "dpdk-p0"
>             Interface "dpdk-p0"
>                 type: dpdk
>                 options: {dpdk-devargs="0000:82:00.0"}
>
> Looks like port is created.
>
> I see add-port and del-port is very very slow - basically hangs and I have
> to CNTRL-C.  Nothing in the logs.  I am not sure what is causing this.  I
> never had any issues without DPDK.
>

In non-DPDK OVS, it is usually a signal that ovs-vswitchd is not running.


>
> Thanks
>
>
> On Thu, Mar 23, 2017 at 10:26 PM, Shivaram Mysore <
> shivaram.mysore at gmail.com> wrote:
>
>> Hello,
>>
>> I just built OVS 2.7 with DPDK 17.02 and installed the same on Ubuntu
>> 16.10.  Adding a DPDK port to the OVS bridge hangs.  *Any thoughts?*
>> (Note: I have overridden the openvswitch.ko and other *.ko with the built
>> ones using depmod config)
>>
>> # *uname -r*
>> 4.8.0-39-generic
>>
>> # */usr/local/src/dpdk-17.02/usertools/dpdk-devbind.py --status*
>>
>> Network devices using DPDK-compatible driver
>> ============================================
>> 0000:82:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:82:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:82:00.2 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:82:00.3 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:83:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:83:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:83:00.2 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>> 0000:83:00.3 'I350 Gigabit Network Connection' drv=igb_uio unused=igb
>>
>>
>> # *ovs-vsctl add-br ovs-br0 -- set bridge ovs-br0 datapath_type=netdev*
>>
>> # *ovs-vsctl show*
>> 0a0e3abd-c1de-40fd-bc14-9a8edb89982d
>>     Bridge "ovs-br0"
>>         Port "ovs-br0"
>>             Interface "ovs-br0"
>>                 type: internal
>>
>> # *ovs-vsctl add-port ovs-br0 dpdk-p0 -- set Interface dpdk-p0 type=dpdk
>> options:dpdk-devargs=0000:82:00.0*
>> *----> hangs*
>>
>> # *tail -f /usr/local/var/log/openvswitch/ovs-vswitchd.log*
>>
>> 2017-03-24T05:11:45.518Z|00065|dpif_netdev|INFO|Created 1 pmd threads on
>> numa node 0
>> 2017-03-24T05:11:45.518Z|00066|dpif_netdev|INFO|Created 1 pmd threads on
>> numa node 1
>>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170324/a333607e/attachment-0001.html>


More information about the discuss mailing list