1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_NET_XDP_PRIV_H__
3 #define __LINUX_NET_XDP_PRIV_H__
5 #include <linux/rhashtable.h>
8 /* Private to net/core/xdp.c, but used by trace/events/xdp.h */
9 struct xdp_mem_allocator {
10 struct xdp_mem_info mem;
13 struct page_pool *page_pool;
15 struct rhash_head node;
19 #endif /* __LINUX_NET_XDP_PRIV_H__ */