.. _clicmd_src_vnet_devices_virtio: =============================================================== vHost User =============================================================== create interface virtio ------------------------------------------------------------------------- .. code-block:: console create interface virtio <pci-address> [feature-mask <hex-mask>] [tx-queue-size <size>] [gso-enabled] [csum-enabled] [buffering [size <buffering-szie>]] [packed] [bind [force]] Declaration: ``virtio_pci_create_command`` `src/vnet/devices/virtio/cli.c line 77 <https://github.com/FDio/vpp/blob/master//src/vnet/devices/virtio/cli.c#L77>`_ Implementation: ``virtio_pci_create_command_fn`` delete interface virtio ------------------------------------------------------------------------- .. code-block:: console delete interface virtio {<interface> | sw_if_index <sw_idx>} Declaration: ``virtio_pci_delete_command`` `src/vnet/devices/virtio/cli.c line 132 <https://github.com/FDio/vpp/blob/master//src/vnet/devices/virtio/cli.c#L132>`_ Implementation: ``virtio_pci_delete_command_fn`` set virtio pci ------------------------------------------------------------------------- .. code-block:: console set virtio pci {<interface> | sw_if_index <sw_idx>} [gso-enabled | csum-offload-enabled | offloads-disabled] Declaration: ``virtio_pci_enable_command`` `src/vnet/devices/virtio/cli.c line 194 <https://github.com/FDio/vpp/blob/master//src/vnet/devices/virtio/cli.c#L194>`_ Implementation: ``virtio_pci_enable_command_fn`` show virtio pci ------------------------------------------------------------------------- .. code-block:: console show virtio pci [<interface>] [descriptors | desc] [debug-device] Declaration: ``show_virtio_pci_command`` `src/vnet/devices/virtio/cli.c line 260 <https://github.com/FDio/vpp/blob/master//src/vnet/devices/virtio/cli.c#L260>`_ Implementation: ``show_virtio_pci_fn``