datapath: Include datapath actions with sampled-packet upcall to userspace.
authorNeil McKee <neil.mckee@inmon.com>
Thu, 11 Jun 2015 16:43:58 +0000 (09:43 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 17 Jul 2015 20:23:39 +0000 (13:23 -0700)
commit0e469d3b380cd6137d752810d070657b1eb2fed0
tree1c30c6c855f0f319ef1fcf58a587e1ab76736b82
parentc002791a30818c2458599f993d1711e03566e7cc
datapath: Include datapath actions with sampled-packet upcall to userspace.

If new optional attribute OVS_USERSPACE_ATTR_ACTIONS is added to an
OVS_ACTION_ATTR_USERSPACE action, then include the datapath actions
in the upcall.

This Directly associates the sampled packet with the path it takes
through the virtual switch. Path information currently includes mangling,
encapsulation and decapsulation actions for tunneling protocols GRE,
VXLAN, Geneve, MPLS and QinQ, but this extension requires no further
changes to accommodate datapath actions that may be added in the
future.

Adding path information enhances visibility into complex virtual
networks.

Signed-off-by: Neil McKee <neil.mckee@inmon.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
datapath/actions.c
datapath/datapath.c
datapath/datapath.h
datapath/linux/compat/include/linux/openvswitch.h