diff options
author | Chenmin Sun <chenmin.sun@intel.com> | 2019-07-18 23:19:28 +0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-08-02 09:21:33 +0000 |
commit | 7c615ae9bf3118878e8929900429c327cc22297b (patch) | |
tree | 94c41e4ad3248109ab6357758251e7bf56535d4e /src/vnet/devices/virtio/virtio.c | |
parent | 2253abad90f9350fa7fff7e1e7a31963f16c30ca (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/virtio.c')
-rw-r--r-- | src/vnet/devices/virtio/virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/virtio.c b/src/vnet/devices/virtio/virtio.c index 9e2067bd521..90adf97dc3c 100644 --- a/src/vnet/devices/virtio/virtio.c +++ b/src/vnet/devices/virtio/virtio.c @@ -322,8 +322,8 @@ virtio_show (vlib_main_t * vm, u32 * hw_if_indices, u8 show_descr, u32 type) vif->host_mtu_size); vlib_cli_output (vm, " fd %d", vif->fd); vlib_cli_output (vm, " tap-fd %d", vif->tap_fd); - vlib_cli_output (vm, " gso-enabled %d", vif->gso_enabled); } + vlib_cli_output (vm, " gso-enabled %d", vif->gso_enabled); vlib_cli_output (vm, " Mac Address: %U", format_ethernet_address, vif->mac_addr); vlib_cli_output (vm, " Device instance: %u", vif->dev_instance); |