From 854559d154288945e03af6b6b7ce91c383667180 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Tue, 26 Feb 2019 16:45:54 -0800 Subject: vmxnet3: RSS support Configurable up to 16 RX queues per interface. Default is 1. Change-Id: If9e2beffeb7e7dc8c2264b4db902132b2fea02c1 Signed-off-by: Steven Luong --- src/plugins/vmxnet3/cli.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/vmxnet3/cli.c') diff --git a/src/plugins/vmxnet3/cli.c b/src/plugins/vmxnet3/cli.c index 571c3dbd042..0f0cf60fa40 100644 --- a/src/plugins/vmxnet3/cli.c +++ b/src/plugins/vmxnet3/cli.c @@ -50,6 +50,8 @@ vmxnet3_create_command_fn (vlib_main_t * vm, unformat_input_t * input, ; else if (unformat (line_input, "num-tx-queues %u", &args.txq_num)) ; + else if (unformat (line_input, "num-rx-queues %u", &args.rxq_num)) + ; else return clib_error_return (0, "unknown input `%U'", format_unformat_error, input); @@ -67,7 +69,7 @@ VLIB_CLI_COMMAND (vmxnet3_create_command, static) = { .path = "create interface vmxnet3", .short_help = "create interface vmxnet3 " "[rx-queue-size ] [tx-queue-size ]" - "[num-tx-queues ]", + "[num-tx-queues ] [num-rx-queues ]", .function = vmxnet3_create_command_fn, }; /* *INDENT-ON* */ -- cgit 1.2.3-korg