RE: [PATCH] iavf: use kvzalloc instead of kzalloc for rx/tx_bi buffer

2020-08-27 Thread Li,Rongqing
; netdev@vger.kernel.org; > >> intel-wired-...@lists.osuosl.org > >> Subject: Re: [PATCH] iavf: use kvzalloc instead of kzalloc for > >> rx/tx_bi buffer > >> > >> > >> > >> On 8/27/20 12:53 AM, Li RongQing wrote: > >>> when

Re: [PATCH] iavf: use kvzalloc instead of kzalloc for rx/tx_bi buffer

2020-08-27 Thread Eric Dumazet
t; Subject: Re: [PATCH] iavf: use kvzalloc instead of kzalloc for rx/tx_bi >> buffer >> >> >> >> On 8/27/20 12:53 AM, Li RongQing wrote: >>> when changes the rx/tx ring to 4096, kzalloc may fail due to a >>> temporary shortage on slab entries. >>

RE: [PATCH] iavf: use kvzalloc instead of kzalloc for rx/tx_bi buffer

2020-08-27 Thread Li,Rongqing
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Thursday, August 27, 2020 4:26 PM > To: Li,Rongqing ; netdev@vger.kernel.org; > intel-wired-...@lists.osuosl.org > Subject: Re: [PATCH] iavf: use kvzalloc instead of kzalloc f

Re: [PATCH] iavf: use kvzalloc instead of kzalloc for rx/tx_bi buffer

2020-08-27 Thread Eric Dumazet
On 8/27/20 12:53 AM, Li RongQing wrote: > when changes the rx/tx ring to 4096, kzalloc may fail due to > a temporary shortage on slab entries. > > kvmalloc is used to allocate this memory as there is no need > to have this memory area physical continuously. > > Signed-off-by: Li RongQing > --

[PATCH] iavf: use kvzalloc instead of kzalloc for rx/tx_bi buffer

2020-08-27 Thread Li RongQing
when changes the rx/tx ring to 4096, kzalloc may fail due to a temporary shortage on slab entries. kvmalloc is used to allocate this memory as there is no need to have this memory area physical continuously. Signed-off-by: Li RongQing --- drivers/net/ethernet/intel/iavf/iavf_txrx.c | 12 ++-