Re: [PATCH v3] octeontx2-pf: Use the napi_alloc_frag() to alloc the pool buffers

2020-05-09 Thread Jakub Kicinski
On Sat, 9 May 2020 18:43:10 +0800 Kevin Hao wrote: > In the current codes, the octeontx2 uses its own method to allocate > the pool buffers, but there are some issues in this implementation. > 1. We have to run the otx2_get_page() for each allocation cycle and >this is pretty error prone. As I

[PATCH v3] octeontx2-pf: Use the napi_alloc_frag() to alloc the pool buffers

2020-05-09 Thread Kevin Hao
In the current codes, the octeontx2 uses its own method to allocate the pool buffers, but there are some issues in this implementation. 1. We have to run the otx2_get_page() for each allocation cycle and this is pretty error prone. As I can see there is no invocation of the otx2_get_page() in