Re: [PATCH][next] i40e: switch kvzalloc to allocate rx/tx_bi buffer

2020-09-14 Thread Jesse Brandeburg
Li RongQing wrote: > when changes the rx/tx ring to 4096, rx/tx_bi needs an order > 5 pages, and allocation maybe fail due to memory fragmentation > so switch to kvzalloc Hi Li, Thanks for your patches, but I think you're solving a problem that isn't a problem (besides that the warning is being p

RE: [PATCH][next] i40e: switch kvzalloc to allocate rx/tx_bi buffer

2020-09-04 Thread Brown, Aaron F
> From: netdev-ow...@vger.kernel.org > On Behalf Of Li RongQing > Sent: Friday, August 21, 2020 2:02 AM > To: netdev@vger.kernel.org; intel-wired-...@lists.osuosl.org > Subject: [PATCH][next] i40e: switch kvzalloc to allocate rx/tx_bi buffer > > when changes the rx/tx r

[PATCH][next] i40e: switch kvzalloc to allocate rx/tx_bi buffer

2020-08-21 Thread Li RongQing
when changes the rx/tx ring to 4096, rx/tx_bi needs an order 5 pages, and allocation maybe fail due to memory fragmentation so switch to kvzalloc i40e :1a:00.0 xgbe0: Changing Rx descriptor count from 512 to 4096 ethtool: page allocation failure: order:5, mode:0x60c0c0(GFP_KERNEL|__GFP_COMP