The sample action can be used for translating Openflow 'clone' action. However its implementation has not been sufficiently optimized for this use case. This series attempts to close the gap.
Patch 3 commit message has more details on the specific optimizations implemented. Andy Zhou (4): openvswitch: Deferred fifo API change. openvswitch: Refactor recirc key allocation. openvswitch: Optimize sample action for the clone use cases Openvswitch: Refactor sample and recirc actions implementation include/uapi/linux/openvswitch.h | 13 +++ net/openvswitch/actions.c | 234 +++++++++++++++++++++++---------------- net/openvswitch/datapath.h | 2 - net/openvswitch/flow_netlink.c | 141 +++++++++++++++-------- 4 files changed, 249 insertions(+), 141 deletions(-) -- 1.8.3.1