[ovs-dev] [PATCH] configuration.rst: Update the example of DPDK port's configuration
Binbin Xu
xu.binbin1 at zte.com.cn
Wed Jan 18 19:55:57 UTC 2017
After the hotplug of DPDK ports, a valid dpdk-devargs must be
specified. Otherwise, the DPDK device can't be available.
Signed-off-by: Binbin Xu <xu.binbin1 at zte.com.cn>
---
Documentation/faq/configuration.rst | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/Documentation/faq/configuration.rst b/Documentation/faq/configuration.rst
index c03d069..8bd0e11 100644
--- a/Documentation/faq/configuration.rst
+++ b/Documentation/faq/configuration.rst
@@ -107,12 +107,11 @@ Q: How do I configure a DPDK port as an access port?
startup when other_config:dpdk-init is set to 'true'.
Secondly, when adding a DPDK port, unlike a system port, the type for the
- interface must be specified. For example::
+ interface and valid dpdk-devargs must be specified. For example::
$ ovs-vsctl add-br br0
- $ ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
-
- Finally, it is required that DPDK port names begin with ``dpdk``.
+ $ ovs-vsctl add-port br0 myportname -- set Interface myportname \
+ type=dpdk options:dpdk-devargs=0000:06:00.0
Refer to :doc:`/intro/install/dpdk` for more information on enabling and
using DPDK with Open vSwitch.
--
1.8.3.1
More information about the dev
mailing list