summaryrefslogtreecommitdiffstats
path: root/src/plugins/af_xdp/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/af_xdp/input.c')
-rw-r--r--src/plugins/af_xdp/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/af_xdp/input.c b/src/plugins/af_xdp/input.c
index e065ee2ab8f..c164c2576b7 100644
--- a/src/plugins/af_xdp/input.c
+++ b/src/plugins/af_xdp/input.c
@@ -108,7 +108,7 @@ af_xdp_device_input_refill (vlib_main_t * vm,
const u32 mask = size - 1;
u32 bis[VLIB_FRAME_SIZE], *bi = bis;
u32 n_alloc, n, n_wrap;
- u32 idx;
+ u32 idx = 0;
ASSERT (mask == rxq->fq.mask);