summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2021-10-04 13:43:19 +0200
committerBeno�t Ganne <bganne@cisco.com>2021-10-04 12:56:24 +0000
commit2c0dc3e58625062da2018ff7aa15c8a0b2dbbc3c (patch)
tree5ed3d7c9a1289a1ff35cdb0eaf980b7e09b93a8d /src/vnet/devices
parenta0f3f8cb7c977b50d0c489cba0ffa963e2c891b3 (diff)
virtio: remove control queue support from virtio_show() for tap/tun
Type: fix Tap/Tun interfaces do not have control queue. This patch removes the support of control queue from virtio_show() which is used by show tap/tun cli. Change-Id: Ib89144ad488ed548fb1ce50ee232a1b8659ccf29 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices')
-rw-r--r--src/vnet/devices/virtio/virtio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/devices/virtio/virtio.c b/src/vnet/devices/virtio/virtio.c
index 73cd95e14c1..fe808f12da4 100644
--- a/src/vnet/devices/virtio/virtio.c
+++ b/src/vnet/devices/virtio/virtio.c
@@ -572,11 +572,6 @@ virtio_show (vlib_main_t *vm, u32 *hw_if_indices, u8 show_descr,
vring->avail->flags, vring->avail->idx,
vring->used->flags, vring->used->idx);
}
- if (type & (VIRTIO_IF_TYPE_TAP | VIRTIO_IF_TYPE_TUN))
- {
- vlib_cli_output (vm, " kickfd %d, callfd %d", vring->kick_fd,
- vring->call_fd);
- }
if (show_descr)
{
vlib_cli_output (vm, "\n descriptor table:\n");
@@ -607,7 +602,6 @@ virtio_show (vlib_main_t *vm, u32 *hw_if_indices, u8 show_descr,
}
}
}
-
}
}