[ovs-dev] OVS 2.8 DPDK NAT Fragmentation support?

Praveen Kariyanahalli praveen.kariyanahalli at gmail.com
Thu Oct 12 21:29:16 UTC 2017


[Reposting on dev forum]

Wanted to know the status of OVS 2.8 DPDK NAT Fragmentation support?

Trying with latest OVS:

# ovs-vsctl show
8864f930-a5e4-428a-9578-c9f441aae5e4
:::
*    ovs_version: "2.8.2"*

*Regular packets NATing seems to be working as desired. *

*# ovs-appctl dpctl/dump-conntrack*
icmp,orig=(src=1.1.1.1,dst=6.6.6.6,id=17788,type=8,code=0),
reply=(src=6.6.6.6,dst=5.5.5.5,id=17788,type=0,code=0),zone=1

*# ovs-appctl dpctl/dump-flows*
flow-dump from non-dpdk interfaces:
recirc_id(0),in_port(1),packet_type(ns=0,id=0),eth_type(0x0800),ipv4(frag=no),
packets:14, bytes:1372, used:0.911s, actions:ct(commit,zone=1,nat(
src=5.5.5.5)),3
flow-dump from pmd on cpu core: 15
ct_state(+est+trk),ct_zone(0x1),recirc_id(0x2e),in_port(
3),packet_type(ns=0,id=0),eth_type(0x0800),ipv4(frag=no), packets:14,
bytes:1372, used:0.911s, actions:1
ct_state(-trk),recirc_id(0),in_port(3),packet_type(ns=0,
id=0),eth_type(0x0800),ipv4(frag=no), packets:14, bytes:1372, used:0.911s,
actions:ct(zone=1,nat),recirc(0x2e)

*When I increase the packet size, it sends the packet as is,*


*# ovs-appctl dpctl/dump-flows*
flow-dump from non-dpdk interfaces:
recirc_id(0),in_port(1),packet_type(ns=0,id=0),eth_type(0x0800),ipv4(
*frag=first*), packets:4, bytes:6056, used:0.284s,
actions:ct(commit,zone=1,nat(src=5.5.5.5)),3
recirc_id(0),in_port(1),packet_type(ns=0,id=0),eth_type(0x0800),ipv4(
*frag=later*), packets:9, bytes:6466, used:0.284s,
actions:ct(commit,zone=1,nat(src=5.5.5.5)),3

*# ovs-appctl dpctl/dump-conntrack*
#
<<< NO tracking ..


Any help is greatly appreciated.

Thanks

-- 
-Praveen


More information about the dev mailing list