[dpdk-dev] [PATCH 1/2] lib/librte_ethdev: add in default value of rte_eth_dev_info

Ferruh Yigit ferruh.yigit at intel.com
Mon Jun 10 19:35:04 CEST 2019


On 6/9/2019 3:33 PM, Andrew Rybchenko wrote:
> On 5/27/19 11:35 AM, Sunil Kumar Kori wrote:
>> rte_eth_dev_info structure exposes, nb_seg_max & nb_mtu_seg_max
>> to provide maximum number of supported segments for a given platform.
>>
>> Defining UINT16_MAX as default value of above mentioned variables to
>> expose support of infinite/maximum segments.
>>
>> Based on above values, application can decide best size for buffers
>> while creating mbuf pool.
>>
>> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> 
> Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
> 

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list