[dpdk-dev] [PATCH v4 17/41] doc: add NXP DPAA PMD documentation

Shreyansh Jain shreyansh.jain at nxp.com
Thu Sep 28 13:49:54 CEST 2017


On Tuesday 19 September 2017 07:55 PM, Shreyansh Jain wrote:
> On Monday 18 September 2017 08:23 PM, Ferruh Yigit wrote:
>> On 9/9/2017 12:21 PM, Shreyansh Jain wrote:
>>> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
>>> Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
>>

[...]

>>> +  This is not a DPAA specific configuration - it is a generic RTE 
>>> config.
>>> +  For optimal performance and hardware utilization, it is expected 
>>> that DPAA
>>> +  Mempool driver is used for mempools. For that, this configuration 
>>> needs to
>>> +  enabled.
>>> +
>>> +Environment Variables
>>> +~~~~~~~~~~~~~~~~~~~~~
>>> +
>>> +DPAA drivers uses the following environment variables to configure its
>>> +state during application initialization:
>>> +
>>> +- ``DPAA_NUM_RX_QUEUES`` (default 1)
>>
>> Why not getting this value as device arg?
> 
> We had this discussion during DPAA2 as well. This time, I was not sure 
> of how the device argument patches are turning out to be after the 
> re-shuffle being done by Gaetan. So, I kept this as it is.

In the v5, I have continued with the old way.
I am still reviewing the devargs patches from Gaetan - once that is 
done, probably after 1711, I will push another patch for removing this 
environment variable.

In fact, in an internal code change, we have removed need to rely on 
this. but, that is slightly ahead in future.


More information about the dev mailing list