diff options
author | Damjan Marion <damarion@cisco.com> | 2019-02-21 20:24:54 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-02-22 01:25:08 +0000 |
commit | 296988d358cd570247dd8b9b8bd5816a856c3d30 (patch) | |
tree | 027fb46f207d6b2a829d7f421449eeba31b270d8 /src/vnet | |
parent | 67f935ec6eb9ec37b7d73029c5afa89cbf4a9aa2 (diff) |
Add no-append flag to vlib_frame_t
Change-Id: I01c4f5755d579282773ac227b0bc24f8ddbb2bd1
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/devices/virtio/vhost_user_input.c | 1 | ||||
-rw-r--r-- | src/vnet/pg/input.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/devices/virtio/vhost_user_input.c b/src/vnet/devices/virtio/vhost_user_input.c index 286fa7ed744..d7f628c4c1a 100644 --- a/src/vnet/devices/virtio/vhost_user_input.c +++ b/src/vnet/devices/virtio/vhost_user_input.c @@ -403,6 +403,7 @@ vhost_user_if_input (vlib_main_t * vm, ef = vlib_frame_scalar_args (f); ef->sw_if_index = vui->sw_if_index; ef->hw_if_index = vui->hw_if_index; + vlib_frame_no_append (f); } while (n_left > 0) diff --git a/src/vnet/pg/input.c b/src/vnet/pg/input.c index befa2786abe..39f06923072 100644 --- a/src/vnet/pg/input.c +++ b/src/vnet/pg/input.c @@ -1575,6 +1575,7 @@ pg_generate_packets (vlib_node_runtime_t * node, pi = pool_elt_at_index (pg->interfaces, s->pg_if_index); ef->sw_if_index = pi->sw_if_index; ef->hw_if_index = pi->hw_if_index; + vlib_frame_no_append (f); } else vlib_get_next_frame (vm, node, next_index, to_next, n_left); |