summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/avf/output.c')
-rw-r--r--src/plugins/avf/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/avf/output.c b/src/plugins/avf/output.c
index 0db333be823..47803fc2729 100644
--- a/src/plugins/avf/output.c
+++ b/src/plugins/avf/output.c
@@ -66,7 +66,7 @@ avf_tx_enqueue (vlib_main_t * vm, avf_txq_t * txq, u32 * buffers,
if (or_flags & VLIB_BUFFER_NEXT_PRESENT)
goto one_by_one;
- clib_memcpy_fast (txq->bufs + next, buffers, sizeof (u32) * 4);
+ vlib_buffer_copy_indices (txq->bufs + next, buffers, 4);
if (use_va_dma)
{