The guide incorrectly stated that qdisc bypass is disabled by
default. However, it has actually been enabled by default ever
since the introduction of the PMD in 2014 (364e08f2bbc0).

Fixes: 6ef75e405d5a ("doc: add af_packet PMD guide")
Cc: [email protected]

Signed-off-by: Frank Dressler <[email protected]>
---
 doc/guides/nics/af_packet.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/nics/af_packet.rst b/doc/guides/nics/af_packet.rst
index 1505b98ff7..6ef56254bc 100644
--- a/doc/guides/nics/af_packet.rst
+++ b/doc/guides/nics/af_packet.rst
@@ -22,7 +22,7 @@ Some of these, in turn, will be used to configure the 
PACKET_MMAP settings.
 *   ``iface`` - name of the Kernel interface to attach to (required);
 *   ``qpairs`` - number of Rx and Tx queues (optional, default 1);
 *   ``qdisc_bypass`` - set PACKET_QDISC_BYPASS option in AF_PACKET (optional,
-    disabled by default);
+    enabled by default);
 *   ``fanout_mode`` - set fanout algorithm.
     Possible choices: hash, lb, cpu, rollover, rnd, qm (optional, default 
hash);
 *   ``blocksz`` - PACKET_MMAP block size (optional, default 4096);
@@ -75,7 +75,7 @@ framecnt=512):
 
 .. code-block:: console
 
-    
--vdev=eth_af_packet0,iface=tap0,blocksz=4096,framesz=2048,framecnt=512,qpairs=1,qdisc_bypass=0,fanout_mode=hash
+    
--vdev=eth_af_packet0,iface=tap0,blocksz=4096,framesz=2048,framecnt=512,qpairs=1,qdisc_bypass=1,fanout_mode=hash
 
 Features and Limitations
 ------------------------
-- 
2.56.0

Reply via email to