aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/af_xdp/af_xdp.api
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2020-09-15 15:25:43 +0200
committerDamjan Marion <dmarion@me.com>2020-10-24 09:39:54 +0000
commitd4e109138279fcfbfce9d82384f0fa53b8f43ae1 (patch)
treebba5b6edb7a74ad9da8d443b225cd61d2128b664 /src/plugins/af_xdp/af_xdp.api
parent18f0e312f73b5b27748ef229be11da9c4ee1bc1b (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/af_xdp.api')
-rw-r--r--src/plugins/af_xdp/af_xdp.api4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/af_xdp/af_xdp.api b/src/plugins/af_xdp/af_xdp.api
index 765af6820e3..14f51d87d6a 100644
--- a/src/plugins/af_xdp/af_xdp.api
+++ b/src/plugins/af_xdp/af_xdp.api
@@ -31,7 +31,7 @@ enum af_xdp_mode
@param context - sender context, to match reply w/ request
@param host_if - Linux netdev interface name
@param name - new af_xdp interface name (optional)
- @param rxq_num - number of receive queues (optional)
+ @param rxq_num - number of receive queues. 65535 can be used as special value to request all available queues (optional)
@param rxq_size - receive queue size (optional)
@param txq_size - transmit queue size (optional)
@param mode - operation mode (optional)
@@ -50,7 +50,7 @@ define af_xdp_create
u16 txq_size [default=0];
vl_api_af_xdp_mode_t mode [default=0];
string prog[256];
- option vat_help = "<host-if linux-ifname> [name ifname] [rx-queue-size size] [tx-queue-size size] [num-rx-queues num] [prog pathname] [zero-copy|no-zero-copy]";
+ option vat_help = "<host-if linux-ifname> [name ifname] [rx-queue-size size] [tx-queue-size size] [num-rx-queues <num|all>] [prog pathname] [zero-copy|no-zero-copy]";
option status="in_progress";
};