[ovs-discuss] adding dpdk port to second bridge fails

Loftus, Ciara ciara.loftus at intel.com
Thu Nov 19 13:12:24 UTC 2015


> 
> On 19/11/15 02:49, Gayathri wrote:
> > Hi All,
> >
> > I tried adding both the dpdk ports to the same bridge ovs and it
> > succeeds. But creating another bridge ovs1 and adding the second dpdk
> > port to this second bridge fails miserably.
> >
> > Please help
> >
> >
> > sudo ./ovs-vsctl del-br ovs
> > sudo ./ovs-vsctl add-br ovs -- set bridge ovs datapath_type=netdev
> > sudo ./ovs-vsctl add-br ovs1 -- set bridge ovs datapath_type=netdev

This command is incorrect. You are setting the "ovs" bridge type to netdev twice. Change this command to set the "ovs1" bridge type to netdev.

Thanks,
Ciara

> > sudo ./ovs-vsctl add-port ovs dpdk0 -- set Interface dpdk0 type=dpdk
> > sudo ./ovs-vsctl add-port ovs dpdkvhost0 -- set Interface dpdkvhost0
> > type=dpdkvhostuser
> > sudo ./ovs-vsctl add-port ovs1 dpdk1 -- set Interface dpdk1 type=dpdk
> > ====> fails
> > sudo ./ovs-vsctl add-port ovs1 dpdkvhost1 -- set Interface dpdkvhost1
> > type=dpdkvhostuser  ===> fails
> >
> > logs from vswitchd
> > --------------------------
> >
> > 2015-11-19T02:42:50.691Z|00039|dpif_netdev|INFO|Created 1 pmd
> threads on
> > numa node 0
> > 2015-11-19T02:42:50.691Z|00001|dpif_netdev(pmd132)|INFO|Core 0
> > processing port 'dpdk0'
> > 2015-11-19T02:42:50.692Z|00040|bridge|INFO|bridge ovs: added interface
> > dpdk0 on port 1
> > 2015-11-19T02:42:50.692Z|00041|bridge|INFO|bridge ovs: using datapath
> ID
> > 0000000cbd05c5d4
> > 2015-11-19T02:42:50.694Z|00002|dpif_netdev(pmd132)|INFO|Core 0
> > processing port 'dpdk0'
> > 2015-11-19T02:42:50.726Z|00042|dpdk|INFO|Socket
> > /var/run/openvswitch/dpdkvhost0 created for vhost-user port dpdkvhost0
> > 2015-11-19T02:42:50.727Z|00003|dpif_netdev(pmd132)|INFO|Core 0
> > processing port 'dpdk0'
> > 2015-11-19T02:42:50.727Z|00004|dpif_netdev(pmd132)|INFO|Core 0
> > processing port 'dpdkvhost0'
> > 2015-11-19T02:42:50.727Z|00043|bridge|INFO|bridge ovs: added interface
> > dpdkvhost0 on port 2
> > 2015-11-19T02:42:59.735Z|00044|memory|INFO|peak resident set size
> grew
> > 680% in last 10.0 seconds, from 2824 kB to 22024 kB
> > 2015-11-19T02:42:59.735Z|00045|memory|INFO|handlers:46 ports:4
> > revalidators:18 rules:10 udpif keys:3
> > 2015-11-19T02:43:12.478Z|00046|dpdk|INFO|Port 1: 00:0c:bd:05:c5:d5
> > 2015-11-19T02:43:12.478Z|00047|dpif_netlink|WARN|system at ovs-
> system:
> > cannot create port `dpdk1' because it has unsupported type `dpdk'
> 
> It seems OVS thinks ovs1 has a netlink type dpif, while it should be
> netdev. Do you have logs about the "add-br" commands?
> 
> > 2015-11-19T02:43:12.478Z|00048|dpif|WARN|Dropped 6 log messages in
> last
> > 22 seconds (most recently, 22 seconds ago) due to excessive rate
> > 2015-11-19T02:43:12.478Z|00049|dpif|WARN|system at ovs-system: failed
> to
> > add dpdk1 as port: Invalid argument
> >
> >
> >
> >
> > Regards,
> > Gayathri
> >
> >
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> >
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss


More information about the discuss mailing list