[dpdk-dev] [PATCH v2 3/3] net/af_packet: get 'framesz' from the iface's MTU

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 27 18:45:41 CET 2018


On 11/27/2018 5:43 PM, Ferruh Yigit wrote:
> On 11/20/2018 10:26 AM, Tiago Lam wrote:
>> Use the underlying MTU to calculate the framsize to be used for the mmap
>> RINGs. This is to make it more flexible on deployments with different
>> MTU requirements, instead of using a pre-defined value of 2048B.
> 
> This behavior change should be documented in af_packet documentation which is
> missing unfortunately.
> Would you able to introduce the initial/basic af_packet doc to at least to
> document device argument? If not please let me know, I can work on it.

Hi John W.,

Is there any chance you can work on an af_packet driver documentation on DPDK as
a maintainer of the PMD?

Thanks,
ferruh

> 
>>
>> If a 'framsz' option is provided, that value is used instead and the MTU
>> of the underlying interface is ignored.
>>
>> Signed-off-by: Tiago Lam <tiago.lam at intel.com>

<...>



More information about the dev mailing list