[dpdk-dev] doc: fix a typo in sample apps guide (kni)

Message ID 1514549293-19968-1-git-send-email-rami.rosen@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Rami Rosen Dec. 29, 2017, 12:08 p.m. UTC
  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.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 doc/guides/sample_app_ug/kernel_nic_interface.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Ferruh Yigit Jan. 8, 2018, 4:24 p.m. UTC | #1
On 12/29/2017 12:08 PM, Rami Rosen wrote:
> 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.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
  
Thomas Monjalon Jan. 10, 2018, 11:15 a.m. UTC | #2
08/01/2018 17:24, Ferruh Yigit:
> On 12/29/2017 12:08 PM, Rami Rosen wrote:
> > 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.
> > 
> > Signed-off-by: Rami Rosen <rami.rosen@intel.com>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied, thanks
  

Patch

diff --git a/doc/guides/sample_app_ug/kernel_nic_interface.rst b/doc/guides/sample_app_ug/kernel_nic_interface.rst
index e1ac415..67f2140 100644
--- a/doc/guides/sample_app_ug/kernel_nic_interface.rst
+++ b/doc/guides/sample_app_ug/kernel_nic_interface.rst
@@ -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
 --------------