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

2019-03-19 Thread Yigit, Ferruh
On 2/18/2019 6:01 PM, Yigit, Ferruh wrote: > On 11/28/2018 1:12 PM, Lam, Tiago wrote: >> On 27/11/2018 17:43, 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 o

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

2019-02-18 Thread Yigit, Ferruh
On 11/28/2018 1:12 PM, Lam, Tiago wrote: > On 27/11/2018 17:43, 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

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

2018-12-21 Thread Ferruh Yigit
On 12/17/2018 9:21 AM, Lam, Tiago wrote: > Hi Ferruh, > > On 28/11/2018 13:33, Ferruh Yigit wrote: >> On 11/28/2018 1:12 PM, Lam, Tiago wrote: >>> On 27/11/2018 17:43, Ferruh Yigit wrote: On 11/20/2018 10:26 AM, Tiago Lam wrote: > Use the underlying MTU to calculate the framsize to be use

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

2018-12-17 Thread Lam, Tiago
Hi Ferruh, On 28/11/2018 13:33, Ferruh Yigit wrote: > On 11/28/2018 1:12 PM, Lam, Tiago wrote: >> On 27/11/2018 17:43, 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

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

2018-11-28 Thread Ferruh Yigit
On 11/28/2018 1:12 PM, Lam, Tiago wrote: > On 27/11/2018 17:43, 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

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

2018-11-28 Thread Lam, Tiago
On 27/11/2018 17:43, 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

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

2018-11-27 Thread Ferruh Yigit
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 204

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

2018-11-27 Thread Ferruh Yigit
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 i

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

2018-11-20 Thread Tiago Lam
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. If a 'framsz' option is provided, that value is used instead and the MTU of the underlying