[ovs-discuss] Datapath megaflow issues

an wang wangan1213 at gmail.com
Thu May 21 17:26:01 UTC 2015


Hi, All,

I'm trying to figure out how datapath mega flows are generated. So I did a
very simple experiment on openvswitch 2.3.0. I inserted a rule ovs-ofctl
add-flow br0 in_port=2,ip,nw_dst=192.168.2.2/16,actions=output:1 to the
userspace flow table. And I used ovs-appctl dpif/dump-flows br0 to check
the flows in datapath flow table and this is what I observed.

skb_priority(0),recirc_id(0),in_port(3),eth(src=00:c0:95:e0:0e:ad,dst=00:00:39:d3:34:3b),eth_type(0x0800),ipv4(src=
192.168.2.1/255.255.255.255,dst=192.168.2.2/255.255.255.255,proto=6/0xff,tos=0x10/0,ttl=62/0,frag=no/0xff),
packets:26670724, bytes:1762573766, used:0.000s, flags:SR., actions:2
skb_priority(0),recirc_id(0),in_port(3),eth(src=00:c0:95:e0:0e:ad,dst=00:50:56:49:01:29),eth_type(0x0800),ipv4(src=
192.168.2.1/255.255.255.255,dst=192.168.2.2/255.255.255.255,proto=6/0xff,tos=0x10/0,ttl=63/0,frag=no/0xff),
packets:9469993, bytes:586123740, used:0.000s, flags:SF., actions:2

Somehow it seems that the ip dst field is not wildcarded at all. And I've
repeated the experiment for several times using different prefix and I
obtained the same result. Could anyone please explain why this happened and
how wildcarded flows are supported in the datapath?

p.s. I configured the dpdk openvswitch, not sure whether that's why the
wildcard doesn't work in datapath.

I'd really appreciate your help!
An Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150521/ed2ba7f1/attachment-0002.html>


More information about the discuss mailing list