Skip to contentSkip to conversation

doc: fix a typo in sample apps guide (kni)

PATCH Applied Rami Rosen 3 participants 3 messages Dec 29, 2017 – Jan 10, 2018

lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 doc: fix a typo in sample apps guide (kni)

This trivial patch fixes a typo in sample apps guide, in the kernel nic interface (kni) section.
Using "-config", as it is now today in this doc, will not work and will emit an error; it shuold be "--config" instead, and this patch fixes it accordingly.

---
 doc/guides/sample_app_ug/kernel_nic_interface.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/sample_app_ug/kernel_nic_interface.rst +1 -1
index e1ac415..67f2140 100644
@@ -181,7 +181,7 @@ and one lcore of kernel thread for each port:
 
 .. code-block:: console
 
-    ./build/kni -l 4-7 -n 4 -- -P -p 0x3 -config="(0,4,6,8),(1,5,7,9)"
+    ./build/kni -l 4-7 -n 4 -- -P -p 0x3 --config="(0,4,6,8),(1,5,7,9)"
 
 KNI Operations
 --------------
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Rami Rosen

This trivial patch fixes a typo in sample apps guide, in the kernel nic interface (kni) section.
Using "-config", as it is now today in this doc, will not work and will emit an error; it shuold be "--config" instead, and this patch fixes it accordingly.

#2 lore raw

08/01/2018 17:24, Ferruh Yigit:

Quoted 10 lines · Rami Rosen
Quoted 7 lines

This trivial patch fixes a typo in sample apps guide, in the kernel nic interface (kni) section.
Using "-config", as it is now today in this doc, will not work and will emit an error; it shuold be "--config" instead, and this patch fixes it accordingly.

Applied, thanks