[ovs-dev] [PATCH] configuration.rst: Update the example of DPDK port's configuration

Daniele Di Proietto diproiettod at ovn.org
Thu Jan 19 01:54:09 UTC 2017


2017-01-18 15:18 GMT-08:00 Daniele Di Proietto <diproiettod at ovn.org>:
> 2017-01-18 11:55 GMT-08:00 Binbin Xu <xu.binbin1 at zte.com.cn>:
>> 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>
>
> Thanks! Applied to master and branch-2.7

I realized that we forgot to update the documentation in other places,
so I sent a patch here:

https://mail.openvswitch.org/pipermail/ovs-dev/2017-January/327782.html

>
>> ---
>>  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
>>
>>
>> _______________________________________________
>> dev mailing list
>> dev at openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list