• N
    openvswitch: include datapath actions with sampled-packet upcall to userspace · ccea7445
    Neil McKee 提交于
    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: NNeil McKee <neil.mckee@inmon.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    ccea7445
openvswitch.h 24.4 KB