summaryrefslogtreecommitdiffstats
path: root/docs/reference/cmdreference/vhost/vhostuser.rst
diff options
context:
space:
mode:
authorScott Keeler <skeeler@cisco.com>2018-10-23 15:16:46 -0400
committerDamjan Marion <dmarion@me.com>2018-10-24 15:21:20 +0000
commit70f28fc4b83fee72a1e2a17f5f898af83b4fb39c (patch)
tree2a8bc77cdc012af9f9b3321a7b27f46fbdf4725b /docs/reference/cmdreference/vhost/vhostuser.rst
parent8a6928938c468639232350bccb0e6c4364fff4c4 (diff)
docs: add useful debug CLI
Change-Id: I5ef9ecd741f1623ae1b7a23fa0a4fa6db7e243a3 Signed-off-by: Scott Keeler <skeeler@cisco.com>
Diffstat (limited to 'docs/reference/cmdreference/vhost/vhostuser.rst')
-rw-r--r--docs/reference/cmdreference/vhost/vhostuser.rst16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/reference/cmdreference/vhost/vhostuser.rst b/docs/reference/cmdreference/vhost/vhostuser.rst
index a21c314404c..8b34ec6e8fb 100644
--- a/docs/reference/cmdreference/vhost/vhostuser.rst
+++ b/docs/reference/cmdreference/vhost/vhostuser.rst
@@ -1,7 +1,9 @@
-.. _vhostusercommands:
+.. vhost:
.. toctree::
+.. note:: For a complete list of CLI Debug commands refer to the Debug CLI section of the `Source Code Documents <https://docs.fd.io/vpp/18.07/clicmd.html>`_ .
+
.. _createvhostuser:
Create Vhost-User
@@ -13,7 +15,7 @@ next free index.
There are several parameters associated with a vHost interface:
-- **socket <socket-filename>** - Name of the linux socket used by
+- **socket <*socket-filename*>** - Name of the linux socket used by
hypervisor and VPP to manage the vHost interface. If in '*server*'
mode, VPP will create the socket if it does not already exist. If in
'*client*' mode, hypervisor will create the socket if it does not
@@ -227,10 +229,10 @@ previous example but will include the descriptor table for each queue. The outpu
Virtqueue 1 (RX)
qsz 256 last_avail_idx 0 last_used_idx 0
-
+
Debug Vhost-User
================
-Turn on/off debug for vhost
+Turn on/off debug for vhost.
Summary/Usage
@@ -238,8 +240,8 @@ Summary/Usage
.. code-block:: shell
- debug vhost-user <on | off>.
-
+ debug vhost-user <on | off>
+
Delete Vhost-User
========================
Delete a vHost User interface using the interface name or the software
@@ -252,7 +254,7 @@ Summary/Usage
.. code-block:: shell
- delete vhost-user {<interface> | sw_if_index <sw_idx>}.
+ delete vhost-user {<interface> | sw_if_index <sw_idx>}
Examples
--------