[ovs-dev] [PATCH v11 3/8] netdev-dpdk: Convert initialization from cmdline to db

Aaron Conole aconole at bytheb.org
Tue Apr 12 18:29:17 UTC 2016


Thanks for the feedback. I will address the issues during my rebase and
add your ack.

Thanks so much for your review, Kevin!

-Aaron

"Traynor, Kevin" <kevin.traynor at intel.com> writes:

>> -----Original Message-----
>> From: dev [mailto:dev-bounces at openvswitch.org] On Behalf Of Aaron Conole
>> Sent: Friday, April 1, 2016 4:32 PM
>> To: dev at openvswitch.org; Flavio Leitner <fbl at sysclose.org>; Traynor, Kevin
>> <kevin.traynor at intel.com>; Panu Matilainen <pmatilai at redhat.com>;
>> Wojciechowicz, RobertX <robertx.wojciechowicz at intel.com>; Mooney, Sean K
>> <sean.k.mooney at intel.com>; Andy Zhou <azhou at ovn.org>; Daniele Di Proietto
>> <diproiettod at vmware.com>; Zoltan Kiss <zoltan.kiss at linaro.org>; Christian
>> Ehrhardt <christian.ehrhardt at canonical.com>; Ben Pfaff <blp at ovn.org>
>> Subject: [ovs-dev] [PATCH v11 3/8] netdev-dpdk: Convert initialization from
>> cmdline to db
>> 
>> Existing DPDK integration is provided by use of command line options which
>> must be split out and passed to librte in a special manner. However, this
>> forces any configuration to be passed by way of a special DPDK flag, and
>> interferes with ovs+dpdk packaging solutions.
>> 
>> This commit delays dpdk initialization until after the OVS database
>> connection is established, at which point ovs initializes librte. It
>> pulls all of the config data from the OVS database, and assembles a
>> new argv/argc pair to be passed along.
>> 
>> Signed-off-by: Aaron Conole <aconole at redhat.com>
>> ---
>
> hi Aaron,
>
> There's a few hunks in this patch that don't apply cleanly to master
> anymore. It conflicts with the cleanup in d46285.
>
>
> ----8<---------8<-----
>
>> diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
>> index 7d6976f..c350247 100644
>> --- a/vswitchd/vswitch.xml
>> +++ b/vswitchd/vswitch.xml
>> @@ -171,11 +171,63 @@
>>          </p>
>>        </column>
>> 
>> +      <column name="other_config" key="n-dpdk-rxqs"
>> +              type='{"type": "integer", "minInteger": 1}'>
>> +        <p>
>> +          Specifies the maximum number of rx queues to be created for each
>> dpdk
>> +          interface.  If not specified or specified to 0, one rx queue will
>> +          be created for each dpdk interface by default.
>> +        </p>
>> +      </column>
>
> This was removed from master - looks like it snuck back in through a rebase.
>
> I'll give it another review and quick test when it's rebased, but with
> the issues
> above addressed consider it to be acked.
>
> Acked-by: Kevin Traynor <kevin.traynor at intel.com>
>
<#secure method=pgpmime mode=encrypt>



More information about the dev mailing list