Skip to content
Commit ccea7445 authored by Neil McKee's avatar Neil McKee Committed by David S. Miller
Browse files

openvswitch: 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: default avatarNeil McKee <neil.mckee@inmon.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bdef7de4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment