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

2020-09-14 Thread Jesse Brandeburg
Li RongQing wrote: > when changes the rx/tx ring to 4096, kzalloc may fail due to > a temporary shortage on slab entries. > > so using kvmalloc to allocate this memory as there is no need > that this memory area is physical continuously. > > and using __GFP_RETRY_MAYFAIL to allocate from kmalloc

[PATCH][next][v2] 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. so using kvmalloc to allocate this memory as there is no need that this memory area is physical continuously. and using __GFP_RETRY_MAYFAIL to allocate from kmalloc as far as possible, which can red