dpif-netlink: Allow MRU packet attribute.
authorAndy Zhou <azhou@nicira.com>
Thu, 26 Feb 2015 23:52:34 +0000 (15:52 -0800)
committerJoe Stringer <joestringer@nicira.com>
Tue, 13 Oct 2015 22:34:16 +0000 (15:34 -0700)
commit27130224cd5c3e5d49771d0284edc4042d2cf520
treeaa8b587a0106168c41f7c427c1879bcd5012c6c1
parentd787ad39b8eb8fb9136837e1c65d0a18a1056eda
dpif-netlink: Allow MRU packet attribute.

User space now may receive re-assembled IP fragments. The user space
netlink handler can now accept packets with the new OVS_PACKET_ATTR_MRU
attribute. This allows the kernel to assemble fragmented packets for the
duration of OpenFlow processing, then re-fragment at output time. Most
notably this occurs for packets that are sent through the connection
tracker.

Note that the MRU attribute is not exported at the OpenFlow layer. As
such, if packets are reassembled by conntrack and subsequently sent to
the controller, then OVS has no way to re-serialize the packets to their
original size.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/linux/compat/include/linux/openvswitch.h
lib/dpif-netlink.c
lib/dpif.c
lib/dpif.h
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif.c
tests/system-traffic.at