aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/page_pool.c
diff options
context:
space:
mode:
authorYunsheng Lin <[email protected]>2023-08-04 18:05:24 +0000
committerJakub Kicinski <[email protected]>2023-08-07 20:05:19 +0000
commita9ca9f9ceff382b58b488248f0c0da9e157f5d06 (patch)
treeb57be21d5739459976064119079e37019184206b /net/core/page_pool.c
parentMerge tag 'linux-can-next-for-6.6-20230807' of git://git.kernel.org/pub/scm/l... (diff)
downloadkernel-a9ca9f9ceff382b58b488248f0c0da9e157f5d06.tar.gz
kernel-a9ca9f9ceff382b58b488248f0c0da9e157f5d06.zip
page_pool: split types and declarations from page_pool.h
Split types and pure function declarations from page_pool.h and add them in page_page/types.h, so that C sources can include page_pool.h and headers should generally only include page_pool/types.h as suggested by jakub. Rename page_pool.h to page_pool/helpers.h to have both in one place. Signed-off-by: Yunsheng Lin <[email protected]> Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Alexander Lobakin <[email protected]> Reviewed-by: Alexander Duyck <[email protected]> Link: https://lore.kernel.org/r/[email protected] [Jakub: change microsoft/mana, fix kdoc paths in Documentation] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/page_pool.c')
-rw-r--r--net/core/page_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/page_pool.c b/net/core/page_pool.c
index 5d615a169718..cd28c1f14002 100644
--- a/net/core/page_pool.c
+++ b/net/core/page_pool.c
@@ -10,7 +10,7 @@
#include <linux/slab.h>
#include <linux/device.h>
-#include <net/page_pool.h>
+#include <net/page_pool/helpers.h>
#include <net/xdp.h>
#include <linux/dma-direction.h>