diff options
author | Damjan Marion <damarion@cisco.com> | 2019-02-21 20:24:54 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2019-02-22 11:31:43 +0100 |
commit | c41559afe58d37b5a544767b99c45ade3aaf5f58 (patch) | |
tree | c2f0e6d854c0d9c612bba95312e31603cf516014 /src/vnet | |
parent | dc2a250f0616a3d853982b46597133780715bf57 (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 812f9d3f6ab..911fde03544 100644 --- a/src/vnet/devices/virtio/vhost_user_input.c +++ b/src/vnet/devices/virtio/vhost_user_input.c @@ -402,6 +402,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 792c67cd88d..b69bbab5d83 100644 --- a/src/vnet/pg/input.c +++ b/src/vnet/pg/input.c @@ -1577,6 +1577,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); |