Allow the netdev_hw_post_process() callback to return an optional set of alternative actions via a new 'alt_actions' parameter. When set, these actions are executed instead of the flow's own actions, enabling offload providers to indicate that a subset of the actions was already performed in hardware.
lib/dpif-netdev-dpcls.c | 8 +- lib/dpif-netdev.c | 168 ++++++++++++++++++++++++------------ lib/dpif-offload-dpdk.c | 5 +- lib/dpif-offload-dummy.c | 137 ++++++++++++++++++++++++----- lib/dpif-offload-provider.h | 7 +- lib/dpif-offload.c | 4 +- lib/dpif-offload.h | 7 ++ tests/dpif-netdev.at | 103 +++++++++++++++++++++- tests/ofproto-dpif.at | 65 ++++++++------ 9 files changed, 393 insertions(+), 111 deletions(-) -- 2.55.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
