aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/cli.c
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2019-07-18 23:19:28 +0800
committerNeale Ranns <nranns@cisco.com>2019-08-02 09:21:33 +0000
commit7c615ae9bf3118878e8929900429c327cc22297b (patch)
tree94c41e4ad3248109ab6357758251e7bf56535d4e /src/vnet/devices/virtio/cli.c
parent2253abad90f9350fa7fff7e1e7a31963f16c30ca (diff)
virtio: add the display information in virtio cli
Type: fix 1. Add option '[gso-enabled]' in cli 'create interface virtio' 2. Add gso information in virtio_show() Change-Id: I4eb58f4421325ef54a6a68c8341b3a6d3d68136a Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Diffstat (limited to 'src/vnet/devices/virtio/cli.c')
-rw-r--r--src/vnet/devices/virtio/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/cli.c b/src/vnet/devices/virtio/cli.c
index 86639e486c9..dbc2ad2c345 100644
--- a/src/vnet/devices/virtio/cli.c
+++ b/src/vnet/devices/virtio/cli.c
@@ -59,7 +59,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>]",
+ "[feature-mask <hex-mask>] [gso-enabled]",
.function = virtio_pci_create_command_fn,
};
/* *INDENT-ON* */