aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMina Almasry <almasrymina@google.com>2024-12-11 21:20:28 +0000
committerJakub Kicinski <kuba@kernel.org>2024-12-12 18:49:07 -0800
commit91a152cbb49c26609d217cf2f116d46143b9b8be (patch)
tree7d67a3de4d16f36180b9044de07a4af16d8d1c0c /include/net
parentMerge branch 'xdp-a-fistful-of-generic-changes-pt-ii' (diff)
downloadlinux-91a152cbb49c26609d217cf2f116d46143b9b8be.tar.gz
linux-91a152cbb49c26609d217cf2f116d46143b9b8be.zip
net: page_pool: rename page_pool_alloc_netmem to *_netmems
page_pool_alloc_netmem (without an s) was the mirror of page_pool_alloc_pages (with an s), which was confusing. Rename to page_pool_alloc_netmems so it's the mirror of page_pool_alloc_pages. Signed-off-by: Mina Almasry <almasrymina@google.com> Acked-by: Stanislav Fomichev <sdf@fomichev.me> Link: https://patch.msgid.link/20241211212033.1684197-2-almasrymina@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/page_pool/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/page_pool/types.h b/include/net/page_pool/types.h
index 05a864031271..3270c92841b4 100644
--- a/include/net/page_pool/types.h
+++ b/include/net/page_pool/types.h
@@ -242,7 +242,7 @@ struct page_pool {
};
struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp);
-netmem_ref page_pool_alloc_netmem(struct page_pool *pool, gfp_t gfp);
+netmem_ref page_pool_alloc_netmems(struct page_pool *pool, gfp_t gfp);
struct page *page_pool_alloc_frag(struct page_pool *pool, unsigned int *offset,
unsigned int size, gfp_t gfp);
netmem_ref page_pool_alloc_frag_netmem(struct page_pool *pool,