Re: [dpdk-dev] net/i40e: fix integer overflow

2019-10-14 Thread Zhang, Xiao
.org > Subject: Re: [dpdk-dev] net/i40e: fix integer overflow > > On 14/10/2019 09:33, Xiao Zhang wrote: > > When configuring i40e rx queue, the temporary variable to store max > > packet length is not big enough which leads to integer overflow issue. > > This patch is t

Re: [dpdk-dev] net/i40e: fix integer overflow

2019-10-14 Thread Kevin Traynor
On 14/10/2019 09:33, Xiao Zhang wrote: > When configuring i40e rx queue, the temporary variable to store max packet > length is not big enough which leads to integer overflow issue. This > patch is to fix the issue by changing the variable type from uint16_t > to uint32_t. > > Fixes: c511a96a34d7

[dpdk-dev] net/i40e: fix integer overflow

2019-10-14 Thread Xiao Zhang
When configuring i40e rx queue, the temporary variable to store max packet length is not big enough which leads to integer overflow issue. This patch is to fix the issue by changing the variable type from uint16_t to uint32_t. Fixes: c511a96a34d7 ("mbuf: add accessors for data room and private siz