Regards _Sugesh
From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Praveen MANKARA RADHAKRISHNAN Sent: Monday, October 26, 2015 5:23 PM To: b...@openvswitch.org Cc: Daniel Virassamy Subject: [ovs-discuss] Test with vxlan using ovs-dpdk (2.4) HI, 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. https://github.com/openvswitch/ovs/blob/master/README-native-tunneling.md 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=10.200.0.6 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 10.200.0.5/24<http://10.200.0.5/24> dev br1 arp -s 10.200.0.6 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. ovs-dpdk ------------------ 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=10.200.0.6 ovs-ofctl add-flow br0 dl_vlan=1,dl_dst=02:11:22:44:55:22,actions=strip_vlan,output:2 ip a a 10.200.0.5/24<http://10.200.0.5/24> dev br1 arp -s 10.200.0.6 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 Praveen
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss