aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/cli.c
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2018-08-27 10:50:50 +0200
committerDamjan Marion <dmarion@me.com>2018-08-30 10:10:45 +0000
commit149d0e2813c0777497f2e312a0e2a7eb0c07ac6c (patch)
tree6a2420f7227010226b1840fbb3e43795427a606f /src/plugins/avf/cli.c
parent3b23e9d5af4f02836b689286824c9217fa2aa19a (diff)
avf: RSS support
Change-Id: I59b8f08789f0704d6768258348e938da67e5b15b Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src/plugins/avf/cli.c')
-rw-r--r--src/plugins/avf/cli.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/avf/cli.c b/src/plugins/avf/cli.c
index bf4415177be..cd5f02dea3e 100644
--- a/src/plugins/avf/cli.c
+++ b/src/plugins/avf/cli.c
@@ -50,6 +50,8 @@ avf_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
args.rxq_size = tmp;
else if (unformat (line_input, "tx-queue-size %u", &tmp))
args.txq_size = tmp;
+ else if (unformat (line_input, "num-rx-queues %u", &tmp))
+ args.rxq_num = tmp;
else
return clib_error_return (0, "unknown input `%U'",
format_unformat_error, input);
@@ -65,7 +67,8 @@ avf_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
VLIB_CLI_COMMAND (avf_create_command, static) = {
.path = "create interface avf",
.short_help = "create interface avf <pci-address> "
- "[rx-queue-size <size>] [tx-queue-size <size>]",
+ "[rx-queue-size <size>] [tx-queue-size <size>] "
+ "[num-rx-queues <size>]",
.function = avf_create_command_fn,
};
/* *INDENT-ON* */