Retries on vHost User port are disabled by default and can be enabled
by setting 'vhost-enqueue-retry' to a value less than or equal to 8.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodire...@intel.com>
Signed-off-by: Antonio Fischetti <antonio.fische...@intel.com>
Co-authored-by: Antonio Fischetti <antonio.fische...@intel.com>
---
 Documentation/howto/dpdk.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index f3c7aff..0324d10 100644
--- a/Documentation/howto/dpdk.rst
+++ b/Documentation/howto/dpdk.rst
@@ -407,6 +407,23 @@ For certain traffic profiles with many parallel flows, 
it's recommended to set
 
 For more information on the EMC refer to :doc:`/intro/install/dpdk` .
 
+.. _dpdk-vhost-retries:
+
+vHost User port Retries
+-----------------------
+
+By default no retries are performed when few of the packets aren't successfully
+transmitted on previous attempt. Retries are disabled to lessen throughput 
impact
+in cases where multiple vHost User ports are serviced by the same PMD thread.
+
+In cases where a particular OvS-DPDK deployment expects no/minimal packet loss,
+retries can be enabled to re-enqueue the unsuccessful packets in previous 
attempt.
+A maximum of 8 retries are allowed.
+
+For example to perform 3 retries::
+
+    $ ovs-vsctl --no-wait set Open_vSwitch . other_config:vhost-enque-retry=3
+
 .. _dpdk-ovs-in-guest:
 
 OVS with DPDK Inside VMs
-- 
2.4.11

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to