aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-02-21 20:24:54 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-02-22 01:25:08 +0000
commit296988d358cd570247dd8b9b8bd5816a856c3d30 (patch)
tree027fb46f207d6b2a829d7f421449eeba31b270d8 /src/plugins
parent67f935ec6eb9ec37b7d73029c5afa89cbf4a9aa2 (diff)
Add no-append flag to vlib_frame_t
Change-Id: I01c4f5755d579282773ac227b0bc24f8ddbb2bd1 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/avf/input.c1
-rw-r--r--src/plugins/dpdk/device/node.c1
-rw-r--r--src/plugins/memif/node.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c
index b0400e99efb..a5d3220c099 100644
--- a/src/plugins/avf/input.c
+++ b/src/plugins/avf/input.c
@@ -425,6 +425,7 @@ no_more_desc:
if ((or_qw1 & AVF_RXD_ERROR_IPE) == 0)
f->flags |= ETH_INPUT_FRAME_F_IP4_CKSUM_OK;
+ vlib_frame_no_append (f);
}
n_left_to_next -= n_rx_packets;
diff --git a/src/plugins/dpdk/device/node.c b/src/plugins/dpdk/device/node.c
index 0998844a3ea..31ca5419ee4 100644
--- a/src/plugins/dpdk/device/node.c
+++ b/src/plugins/dpdk/device/node.c
@@ -390,6 +390,7 @@ dpdk_device_input (vlib_main_t * vm, dpdk_main_t * dm, dpdk_device_t * xd,
if (xd->flags & DPDK_DEVICE_FLAG_RX_IP4_CKSUM &&
(or_flags & PKT_RX_IP_CKSUM_BAD) == 0)
f->flags |= ETH_INPUT_FRAME_F_IP4_CKSUM_OK;
+ vlib_frame_no_append (f);
}
n_left_to_next -= n_rx_packets;
vlib_put_next_frame (vm, node, next_index, n_left_to_next);
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 3f4f5c57144..07ce76dc6d5 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -370,6 +370,7 @@ memif_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
ef = vlib_frame_scalar_args (f);
ef->sw_if_index = mif->sw_if_index;
ef->hw_if_index = mif->hw_if_index;
+ vlib_frame_no_append (f);
}
}