[ovs-discuss] Test with vxlan using ovs-dpdk (2.4)

Chandran, Sugesh sugesh.chandran at intel.com
Wed Oct 28 10:39:47 UTC 2015

Hi Praveen,

The arp entries are learned properly, if the packets are reaching at br1.
Can you please confirm what flow rules are populated on br1 using ,
                ovs-ofctl dump-flows br1

If there is no rules present, please add a rule to forward packet to the physical port as follows,
ovs-ofctl add-flow br1 idle_timeout=0,in_port=LOCAL,action=output:1


From: Praveen MANKARA RADHAKRISHNAN [mailto:praveen.mankara at 6wind.com]
Sent: Wednesday, October 28, 2015 10:05 AM
To: Chandran, Sugesh
Cc: bugs at openvswitch.org; Daniel Virassamy
Subject: Re: [ovs-discuss] Test with vxlan using ovs-dpdk (2.4)

Hi Sugesh,

Thanks for the reply.
arp entries are show in vs-appctl tnl/arp/show command. but it seems o packet is coming to the bridge with physical port.

I have already tried to set using tnl/arp/set command but it seems set is not present in openvswitch 2.4
it returns the following error.

ovs-appctl tnl/arp/set br0 02:11:22:44:55:11
"tnl/arp/set" is not a valid command
ovs-appctl: ovs-vswitchd: server returned an error "

One important thing is to note that i was using dpdk-2.0.0. does that make any difference?


On Tue, Oct 27, 2015 at 6:28 PM, Chandran, Sugesh <sugesh.chandran at intel.com<mailto:sugesh.chandran at intel.com>> wrote:


From: discuss [mailto:discuss-bounces at openvswitch.org<mailto:discuss-bounces at openvswitch.org>] On Behalf Of Praveen MANKARA RADHAKRISHNAN
Sent: Monday, October 26, 2015 5:23 PM
To: bugs at openvswitch.org<mailto:bugs at openvswitch.org>
Cc: Daniel Virassamy
Subject: [ovs-discuss] Test with vxlan using ovs-dpdk (2.4)


I am Praveen,

I am trying a specific test scenario using ovs-dpdk.

Test set up

from the traffgen vlan packets are coming to dpdk interface its stripped using ovs command.
and sending to a vxlan interface which is comnnected in theo other dpdk interface and send back to traffgen.

i have done the vxlan set up similar to the sample test case.


the issue is that from the sumpflows i can see that packets are send to vxlan but it is not going to the other bridge.

the same scenario is working without dpdk.

I am using openvswitch-2.4.0.

Linux (without dpdk)

ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 vxlan0 -- set interface vxlan0 type=vxlan options:remote_ip=
ovs-ofctl add-flow br0 dl_vlan=1,dl_dst=02:11:22:44:55:22,actions=strip_vlan,output:2

ovs-vsctl add-br br1
ovs-vsctl add-port br1 eth1

 ip a a<> dev br1
arp -s 02:11:22:44:55:11 -i eth2

and from the traffgen i am sending traffic with dst mac 02:11:22:44:55:22 and vlan id 1.
it is correctly working.


started ovs-dpdk ::
ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile --detach

ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk

ovs-vsctl add-br br1 -- set bridge br1 datapath_type=netdev
ovs-vsctl add-port br1 dpdk1 -- set Interface dpdk1 type=dpdk

ovs-vsctl add-port br0 vxlan0 -- set interface vxlan0 type=vxlan options:remote_ip=
ovs-ofctl add-flow br0 dl_vlan=1,dl_dst=02:11:22:44:55:22,actions=strip_vlan,output:2

 ip a a<> dev br1
arp -s 02:11:22:44:55:11 -i eth2

here i have started the ovs-dpddk and do the same set up
but packets are not seen in bridge1 (br1) and in traffgen.

is there any specif configuration i need to do in ovs-dpdk
could it be because of the arp?
Is there a way to set static arp to the ovs-dpdk?
>>>> Does the arp entries shown properly in “ovs-appctl tnl/arp/show”???
>>>>> You can set the arp entries using ovs-appctl tnl/arp/set <bridge> <ip> <mac>. In OVS-DPDK the DPDK interfaces are not managed by kernel so assigning static arp to physical interface may not work.
Could you help in identifying the problem?

Thanking you in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151028/a2321a67/attachment-0002.html>

More information about the discuss mailing list