Skip to contentSkip to conversation

doc: kni command line fixes

PATCH Applied Bernard Iremonger 4 participants 7 messages Jun 10, 2015 – Jul 27, 2015

lore
Share & tools
lore
#1 lore raw

PATCH 1/2 doc: correct kni command line in virtio chapter

In reply to Bernard Iremonger
---
 doc/guides/nics/virtio.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
doc/guides/nics/virtio.rst +2 -2
index 9f18b3a..200a8be 100644
@@ -1,5 +1,5 @@
 ..  BSD LICENSE
-    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+    Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
     All rights reserved.
 
     Redistribution and use in source and binary forms, with or without
@@ -128,7 +128,7 @@ Host2VM communication example
 
     .. code-block:: console
 
-        examples/kni/build/app/kni -c 0xf -n 4 -- -p 0x1 -i 0x1 -o 0x2
+        examples/kni/build/app/kni -c 0xf -n 4 -- -p 0x1 -P --config="(0,1,3)"
 
     This command generates one network device vEth0 for physical port.
     If specify more physical ports, the generated network device will be vEth1, vEth2, and so on.
Signature · 1 line
1.7.4.1
#0 lore raw

cover doc: kni command line fixes

Several kni command lines did not work.
The patches below fix the command lines.

Bernard Iremonger (2):
doc: correct kni command line in virtio chapter
doc: fix kni command line in Kernel NIC Interface chapter

 doc/guides/nics/virtio.rst                     |    4 ++--
 doc/guides/prog_guide/kernel_nic_interface.rst |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.4.1
#3 lore raw

PATCH 2/2 doc: fix kni command line in Kernel NIC Interface chapter

---
 doc/guides/prog_guide/kernel_nic_interface.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
doc/guides/prog_guide/kernel_nic_interface.rst +2 -2
index fb12d43..713d30b 100644
@@ -1,5 +1,5 @@
 ..  BSD LICENSE
-    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+    Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
     All rights reserved.
 
     Redistribution and use in source and binary forms, with or without
@@ -238,7 +238,7 @@ Of course, as a prerequisite, the vhost/vhost-net kernel CONFIG should be chosen
 
     .. code-block:: console
 
-        ./kni -c -0xf0 -n 4 -- -p 0x3 -P -config="(0,4,6),(1,5,7)"
+        examples/kni/build/app/kni -c -0xf0 -n 4 -- -p 0x3 -P --config="(0,4,6),(1,5,7)"
 
     This command runs the kni sample application with two physical ports.
     Each port pins two forwarding cores (ingress/egress) in user space.
Signature · 1 line
1.7.4.1
Acked-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] doc: fix kni command line in Kernel NIC Interface chapter

In reply to Bernard Iremonger
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Wednesday, June 10, 2015 11:13 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH 2/2] doc: fix kni command line in Kernel NIC Interface chapter

Quoted 29 lines
---
 doc/guides/prog_guide/kernel_nic_interface.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
doc/guides/prog_guide/kernel_nic_interface.rst +1 -2
index fb12d43..713d30b 100644
@@ -1,5 +1,5 @@
 ..  BSD LICENSE
-    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+    Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
     All rights reserved.
 
     Redistribution and use in source and binary forms, with or without @@
-238,7 +238,7 @@ Of course, as a prerequisite, the vhost/vhost-net kernel

CONFIG should be chosen

.. code-block:: console

doc/guides/prog_guide/kernel_nic_interface.rst +1 -3
-        ./kni -c -0xf0 -n 4 -- -p 0x3 -P -config="(0,4,6),(1,5,7)"
+        examples/kni/build/app/kni -c -0xf0 -n 4 -- -p 0x3 -P
--config="(0,4,6),(1,5,7)"
 
     This command runs the kni sample application with two physical ports.
     Each port pins two forwarding cores (ingress/egress) in user space.
--

1.7.4.1

Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] doc: correct kni command line in virtio chapter

In reply to Bernard Iremonger
Quoted 10 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Bernard Iremonger
Sent: Wednesday, June 10, 2015 11:13 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH 1/2] doc: correct kni command line in virtio chapter

Quoted 27 lines
---
 doc/guides/nics/virtio.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
doc/guides/nics/virtio.rst index renamed from doc/guides/nics/virtio.rst +0 -0

9f18b3a..200a8be 100644

doc/guides/nics/virtio.rst +2 -3
@@ -1,5 +1,5 @@
 ..  BSD LICENSE
-    Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+    Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
     All rights reserved.
 
     Redistribution and use in source and binary forms, with or without @@
-128,7 +128,7 @@ Host2VM communication example
 
     .. code-block:: console
 
-        examples/kni/build/app/kni -c 0xf -n 4 -- -p 0x1 -i 0x1 -o 0x2
+        examples/kni/build/app/kni -c 0xf -n 4 -- -p 0x1 -P --config="(0,1,3)"
 
     This command generates one network device vEth0 for physical port.
     If specify more physical ports, the generated network device will be vEth1,

vEth2, and so on.
--
1.7.4.1