aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/af_xdp/unformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/af_xdp/unformat.c')
-rw-r--r--src/plugins/af_xdp/unformat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/af_xdp/unformat.c b/src/plugins/af_xdp/unformat.c
index 154d459900e..b2292464112 100644
--- a/src/plugins/af_xdp/unformat.c
+++ b/src/plugins/af_xdp/unformat.c
@@ -40,6 +40,8 @@ unformat_af_xdp_create_if_args (unformat_input_t * input, va_list * vargs)
;
else if (unformat (line_input, "tx-queue-size %u", &args->txq_size))
;
+ else if (unformat (line_input, "num-rx-queues all"))
+ args->rxq_num = AF_XDP_NUM_RX_QUEUES_ALL;
else if (unformat (line_input, "num-rx-queues %u", &args->rxq_num))
;
else if (unformat (line_input, "prog %s", &args->prog))