summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/cli.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-04-30 17:25:26 +0200
committerDamjan Marion <dmarion@me.com>2019-05-01 18:12:43 +0000
commit43b512cac2240cd679341a3bc01d548c573b8a85 (patch)
treeeedbc4c059ce494a8f3ea6f4314c2af57f9524b3 /src/vnet/devices/virtio/cli.c
parenteecdf93aeaf59e65dfeb57cdeae75ff9675d9c0f (diff)
virtio: remove configurable queue size support
Native virtio device through legacy driver can't support configurable queue size. Change-Id: I76c446a071bef8a469873010325d830586aa84bd Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/cli.c')
-rw-r--r--src/vnet/devices/virtio/cli.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/vnet/devices/virtio/cli.c b/src/vnet/devices/virtio/cli.c
index 92e7e93831a..956284c9716 100644
--- a/src/vnet/devices/virtio/cli.c
+++ b/src/vnet/devices/virtio/cli.c
@@ -29,7 +29,6 @@ virtio_pci_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
{
unformat_input_t _line_input, *line_input = &_line_input;
virtio_pci_create_if_args_t args;
- u32 tmp;
u64 feature_mask = (u64) ~ (0ULL);
/* Get a line of input. */
@@ -43,10 +42,6 @@ virtio_pci_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
;
else if (unformat (line_input, "feature-mask 0x%llx", &feature_mask))
args.features = feature_mask;
- else if (unformat (line_input, "rx-queue-size %u", &tmp))
- args.rxq_size = tmp;
- else if (unformat (line_input, "tx-queue-size %u", &tmp))
- args.txq_size = tmp;
else
return clib_error_return (0, "unknown input `%U'",
format_unformat_error, input);
@@ -62,7 +57,7 @@ virtio_pci_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
VLIB_CLI_COMMAND (virtio_pci_create_command, static) = {
.path = "create interface virtio",
.short_help = "create interface virtio <pci-address> "
- "[feature-mask <hex-mask>] [rx-queue-size <size>] [tx-queue-size <size>]",
+ "[feature-mask <hex-mask>]",
.function = virtio_pci_create_command_fn,
};
/* *INDENT-ON* */