Signed-off-by: Mauricio Vasquez B <mauricio.vasquezbernal at studenti.polito.it>
---
 doc/guides/sample_app_ug/tep_termination.rst | 8 ++++----
 doc/guides/sample_app_ug/vhost.rst           | 7 +++++++
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/doc/guides/sample_app_ug/tep_termination.rst 
b/doc/guides/sample_app_ug/tep_termination.rst
index 71a4acd..2d86a03 100644
--- a/doc/guides/sample_app_ug/tep_termination.rst
+++ b/doc/guides/sample_app_ug/tep_termination.rst
@@ -121,7 +121,7 @@ The example in this section have been validated with the 
following distributions
 Prerequisites
 -------------

-Refer to the guide in section 27.4 in the vhost sample.
+Refer to :ref:`vhost_app_prerequisites`.

 Compiling the Sample Code
 -------------------------
@@ -225,7 +225,7 @@ Parameters

 **The same parameters with the vhost sample.**

-Refer to the guide in section 27.6.1 in the vhost sample for the meanings of 
'Basename',
+Refer to :ref:`vhost_app_parameters` for the meanings of 'Basename',
 'Stats', 'RX Retry', 'RX Retry Number' and 'RX Retry Delay Time'.

 **Number of Devices.**
@@ -303,12 +303,12 @@ The default value is 1.
 Running the Virtual Machine (QEMU)
 ----------------------------------

-Refer to the guide in section 27.7 in the vhost sample.
+Refer to :ref:`vhost_app_running`.

 Running DPDK in the Virtual Machine
 -----------------------------------

-Refer to the guide in section 27.8 in the vHost sample.
+Refer to :ref:`vhost_app_running_dpdk`.

 Passing Traffic to the Virtual Machine Device
 ---------------------------------------------
diff --git a/doc/guides/sample_app_ug/vhost.rst 
b/doc/guides/sample_app_ug/vhost.rst
index 751656c..47ce36c 100644
--- a/doc/guides/sample_app_ug/vhost.rst
+++ b/doc/guides/sample_app_ug/vhost.rst
@@ -144,6 +144,8 @@ The example in this section have been validated with the 
following distributions

 *   Fedora* 20

+.. _vhost_app_prerequisites:
+
 Prerequisites
 -------------

@@ -405,6 +407,8 @@ Running the Sample Code
     The number used with the --socket-mem parameter may need to be more than 
1024.
     The number required depends on the number of mbufs allocated by 
vhost-switch.

+.. _vhost_app_parameters:
+
 Parameters
 ~~~~~~~~~~

@@ -530,6 +534,8 @@ It is enabled by default.
     ./vhost-switch -c f -n 4 --socket-mem 1024 --huge-dir /mnt/huge \
      -- --vlan-strip [0, 1]

+.. _vhost_app_running:
+
 Running the Virtual Machine (QEMU)
 ----------------------------------

@@ -760,6 +766,7 @@ Common Issues
     Linux module but which is necessary for the user space VHOST current 
implementation (CUSE-based) to communicate with
     the guest.

+.. _vhost_app_running_dpdk:

 Running DPDK in the Virtual Machine
 -----------------------------------
-- 
1.9.1

Reply via email to