Hello all,
I am using OVS-DPDK, following this tutorial
https://github.com/01org/dpdk-ovs/blob/development/docs/04_Sample_Configurations/00_Phy-Phy.md.
and I encountered some problems.

I have two physical NICs binded to DPDK driver

Network devices using DPDK-compatible driver
============================================
0000:06:00.0 '82574L Gigabit Network Connection' drv=igb_uio unused=vfio-pci
0000:07:00.0 '82574L Gigabit Network Connection' drv=igb_uio unused=vfio-pci

Then I add a bridge br0 and 2 ports, follow the, just as the tutorial did.
and the ovs-vsctl show is normal.

170c321a-0dea-48c5-94dd-f53ec5587a44
    Bridge "br0"
        Port "port2"
            Interface "port2"
                type: dpdkphy
                options: {port="1"}
        Port "port1"
            Interface "port1"
                type: dpdkphy
                options: {port="0"}
        Port "br0"
            Interface "br0"
                type: internal

I start ovs-dpdk and it works well and Statistic info is printed. Then I
start vswitch by./vswitchd/ovs-vswitchd -c 0x100 --proc-type=secondary --
--pidfile=/tmp/vswitchd.pid part of the output is

2016-01-16T09:20:40Z|00036|dpdk_link|INFO|Found OVDK03_Control_Alloc_Ring
2016-01-16T09:20:40Z|00037|dpif_dpdk|ERR|Unable to successfully add IN
port to datapath, error '-19'
2016-01-16T09:20:40Z|00038|dpif|WARN|dpdk@ovs-dpdk: failed to add
port1 as port: Unknown error -19
2016-01-16T09:20:40Z|00039|dpif_dpdk|ERR|Unable to successfully add IN
port to datapath, error '-19'
2016-01-16T09:20:40Z|00040|dpif|WARN|dpdk@ovs-dpdk: failed to add
port2 as port: Unknown error -19
2016-01-16T09:20:40Z|00041|bridge|INFO|bridge br0: added interface br0
on port 65534
2016-01-16T09:20:40Z|00042|bridge|INFO|bridge br0: using datapath ID
000086f3dadf9c41
2016-01-16T09:20:40Z|00043|connmgr|INFO|br0: added service controller
"punix:/usr/local/var/run/openvswitch/br0.mgmt"
2016-01-16T09:20:40Z|00044|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.1.2
2016-01-16T09:20:50Z|00045|memory|INFO|16588 kB peak resident set size
after 10.0 seconds
2016-01-16T09:20:50Z|00046|memory|INFO|dispatchers:1 flow_dumpers:1
handlers:5 ports:1 revalidators:3 rules:4

I tried to use dpdk0/dpdk1 to replace port1/port2 and got the same error.
http://openvswitch.org/support/dist-docs/INSTALL.DPDK.md.txt step 6
I also tried ovs_dpdk_16/17 because I saw the last page of this PDF
https://01.org/sites/default/files/downloads/packet-processing/intel_dpdk_vswitch_gsg_0_7.pdf

I found a same question here
 https://lists.01.org/pipermail/dpdk-ovs/2014-May/000973.html
<https://lists.01.org/pipermail/dpdk-ovs/2014-May/000973.html>
the solution is to use the command below:

./utilities/ovs-vsctl --no-wait add-port br0 port16 -- set Interface
port16 type=dpdkphy ofport_request=16 option:port=1


but the solution does not work for me.

What interface name should I use? Or am I missing some something and how
can I fix this?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to