summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Iremonger <bernard.iremonger@intel.com>2015-06-10 16:12:32 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-07-27 23:46:09 +0200
commit2855b1ebd33fa98e7a6668acc91999ecd7a50f6b (patch)
treedd475fb374f229a013c5503132205f570e937463
parentaee3bc79cc3440c3012575dfe0df51bdea68bf28 (diff)
downloaddpdk-2855b1ebd33fa98e7a6668acc91999ecd7a50f6b.zip
dpdk-2855b1ebd33fa98e7a6668acc91999ecd7a50f6b.tar.gz
dpdk-2855b1ebd33fa98e7a6668acc91999ecd7a50f6b.tar.xz
doc: fix kni command line
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
-rw-r--r--doc/guides/nics/virtio.rst4
-rw-r--r--doc/guides/prog_guide/kernel_nic_interface.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst
index 9f18b3a..200a8be 100644
--- a/doc/guides/nics/virtio.rst
+++ b/doc/guides/nics/virtio.rst
@@ -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.
diff --git a/doc/guides/prog_guide/kernel_nic_interface.rst b/doc/guides/prog_guide/kernel_nic_interface.rst
index fb12d43..713d30b 100644
--- a/doc/guides/prog_guide/kernel_nic_interface.rst
+++ b/doc/guides/prog_guide/kernel_nic_interface.rst
@@ -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.