summaryrefslogtreecommitdiff
path: root/lib/dpif-netdev.c
diff options
context:
space:
mode:
authorDarrell Ball <dlu998@gmail.com>2019-02-13 15:34:20 -0800
committerBen Pfaff <blp@ovn.org>2019-02-14 11:39:22 -0800
commit9f17f104fe789b0ae803a2a45bba63057a73b116 (patch)
tree75b0741cdcb43334a41b2dede34d0c024278fb86 /lib/dpif-netdev.c
parent1aa7bbca923fc6633b0912143d0f3c481cbf027f (diff)
downloadopenvswitch-9f17f104fe789b0ae803a2a45bba63057a73b116.tar.gz
dp-packet: Add 'do_not_steal' packet batch flag.
This is needed in a subsequent patch and may otherwise be useful. Signed-off-by: Darrell Ball <dlu998@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/dpif-netdev.c')
-rw-r--r--lib/dpif-netdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 481ef5049..f41f1d70d 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -3717,6 +3717,7 @@ dpif_netdev_execute(struct dpif *dpif, struct dpif_execute *execute)
}
dp_packet_batch_init_packet(&pp, execute->packet);
+ pp.do_not_steal = true;
dp_netdev_execute_actions(pmd, &pp, false, execute->flow,
execute->actions, execute->actions_len);
dp_netdev_pmd_flush_output_packets(pmd, true);