diff options
author | Benoît Ganne <bganne@cisco.com> | 2020-09-15 15:25:43 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-10-24 09:39:54 +0000 |
commit | d4e109138279fcfbfce9d82384f0fa53b8f43ae1 (patch) | |
tree | bba5b6edb7a74ad9da8d443b225cd61d2128b664 /src/plugins/af_xdp/unformat.c | |
parent | 18f0e312f73b5b27748ef229be11da9c4ee1bc1b (diff) |
af_xdp: add option to claim all available rx queues
Type: feature
Change-Id: I97176c2c90ea664a68078b3a7b7d44eb237a7f13
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/af_xdp/unformat.c')
-rw-r--r-- | src/plugins/af_xdp/unformat.c | 2 |
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)) |