[ovs-discuss] OVS-DPDK - missing TNL_POP rule in flow table
Avi Cohen (A)
avi.cohen at huawei.com
Wed Jun 7 15:26:02 UTC 2017
Hi All,
After some investigations , thanks to - Chandran Sugesh - I want to be more specific/targeted :
The general problem is that VXLAN packet transmitted from ovs-dpdk-A is received @ovs-dpdk-B but not send to vxlan0 for decap because TNL_POP rule is missing from the flow-table.
Can someone tell me why this rule is missing ?
Here is the dp flow-dump and vsctl-show - as you can see only TNL_PUSH rule exist but no TNL_POP
Device B
flow-dump from non-dpdk interfaces:
recirc_id(0),in_port(4),eth(src=02:fb:9e:ce:f2:0d,dst=02:d7:d1:26:84:e5),eth_type(0x0800),ipv4(frag=no), packets:1886, bytes:279128, used:0.801s, actions:5
recirc_id(0),in_port(3),eth(src=c6:96:20:43:ee:ab,dst=fa:fc:41:d0:c5:2b),eth_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:1886, bytes:184828, used:0.801s, actions:1,tnl_push(tnl_port(2),header(size=50,type=4,eth(dst=02:d7:d1:26:84:e5,src=02:fb:9e:ce:f2:0d,dl_type=0x0800),ipv4(src=172.31.100.44,dst=172.31.100.80,proto=17,tos=0,ttl=64,frag=0x4000),udp(src=0,dst=4789,csum=0x0),vxlan(flags=0x8000000,vni=0x3e8)),out_port(4))
recirc_id(0),in_port(4),eth(src=02:fb:9e:ce:f2:0d,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=172.31.100.44,tip=172.31.100.1,op=1/0xff), packets:5, bytes:210, used:9.988s, actions:5
flow-dump from pmd on cpu core: 7
recirc_id(0),in_port(5),eth(src=02:d7:d1:26:84:e5,dst=02:fb:9e:ce:f2:0d),eth_type(0x8100),vlan(vid=2047,pcp=0),encap(eth_type(0x0800),ipv4(frag=no)), packets:1898, bytes:288496, used:0.415s, actions:4
recirc_id(0),in_port(5),eth(src=02:97:78:a7:a9:2d,dst=02:fb:9e:ce:f2:0d),eth_type(0x8100),vlan(vid=2047,pcp=0),encap(eth_type(0x0806),arp(sip=172.31.100.1,op=2/0xff,sha=02:97:78:a7:a9:2d)), packets:5, bytes:300, used:9.988s, actions:4
ovs-appctl dpctl/show
netdev at ovs-netdev:
lookups: hit:6919 missed:141 lost:0
flows: 6
port 0: ovs-netdev (tap)
port 1: br-int (tap)
port 2: vxlan_sys_4789 (vxlan)
port 3: veth0
port 4: br-phy (tap)
port 5: dpdk0 (dpdk: configured_rx_queues=1, configured_tx_queues=4, mtu=9000, requested_rx_queues=1, requested_tx_queues=33)
ovs-vsctl show
8cdae740-9eb3-4b79-ad6f-bca0652c5d54
Bridge br-int
fail_mode: standalone
Port "vxlan0"
Interface "vxlan0"
type: vxlan
options: {remote_ip="172.31.100.80"}
Port "veth0"
Interface "veth0"
Port br-int
Interface br-int
type: internal
Bridge br-phy
fail_mode: standalone
Port "dpdk0"
Interface "dpdk0"
type: dpdk
options: {dpdk-devargs="0000:00:03.0"}
Port br-phy
Interface br-phy
type: internal
Best Regards
avi
More information about the discuss
mailing list