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 (3): openvswitch: deferred fifo api change openvswitch: Refactor recirc key allocation. openvswitch: Optimize sample action for the clone use cases net/openvswitch/actions.c | 190 ++++++++++++++++++++++------------------- net/openvswitch/datapath.h | 7 ++ net/openvswitch/flow_netlink.c | 118 +++++++++++++++++-------- 3 files changed, 192 insertions(+), 123 deletions(-) -- 1.8.3.1