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

2019-10-15 Thread Ye Xiaolong
On 10/15, Xiao Zhang wrote: >When config 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 removing the variable and using the >expression directly since the variable only used once. > >Fixes

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

2019-10-14 Thread Xiao Zhang
When config 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 removing the variable and using the expression directly since the variable only used once. Fixes: 4861cde46116 ("i40e: new poll mo