diff options
author | Damjan Marion <damarion@cisco.com> | 2019-01-18 20:03:41 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-18 23:18:00 +0000 |
commit | 64d557cd6723cc3a7ae3a0a68a52e220f8f2c7f1 (patch) | |
tree | 648b6990d16da26d0d8ed97b4c16c7b6d8fa0fb1 /src/plugins/avf/input.c | |
parent | 847d52882580378a5180e3d05a32249eef6da02e (diff) |
Add vlib_buffer_copy_indices inline function
This reverts commit 1e59f9ddbdda14591967e1d66eab8623f9ba58e4.
Change-Id: Iae1d372b887e170d28cac2fe4c61325ee5a5894a
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf/input.c')
-rw-r--r-- | src/plugins/avf/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/avf/input.c b/src/plugins/avf/input.c index b784bf731c1..fc884ce39f6 100644 --- a/src/plugins/avf/input.c +++ b/src/plugins/avf/input.c @@ -295,7 +295,7 @@ avf_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, or_q1x4 |= q1x4; u64x4_store_unaligned (q1x4, ptd->qw1s + n_rx_packets); - clib_memcpy_fast (bi, rxq->bufs + next, 4 * sizeof (u32)); + vlib_buffer_copy_indices (bi, rxq->bufs + next, 4); /* next */ next = (next + 4) & mask; |