diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2024-02-12 12:50:54 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-14 06:22:30 +0300 |
commit | 2b0cfa6e49566c8fa6759734cf821aa6e8271a9e (patch) | |
tree | 63e4da18af22791b114ede9e63a68f2260cad85b /usr/dummy-include | |
parent | 32e4a5447ed9fa904a2dfcf4609c64bce053b4e8 (diff) | |
download | linux-2b0cfa6e49566c8fa6759734cf821aa6e8271a9e.tar.xz |
net: add generic percpu page_pool allocator
Introduce generic percpu page_pools allocator.
Moreover add page_pool_create_percpu() and cpuid filed in page_pool struct
in order to recycle the page in the page_pool "hot" cache if
napi_pp_put_page() is running on the same cpu.
This is a preliminary patch to add xdp multi-buff support for xdp running
in generic mode.
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Reviewed-by: Toke Hoiland-Jorgensen <toke@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/80bc4285228b6f4220cd03de1999d86e46e3fcbd.1707729884.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'usr/dummy-include')
0 files changed, 0 insertions, 0 deletions