summaryrefslogtreecommitdiff
path: root/include/net/page_pool.h
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2022-01-03 18:08:06 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-01-06 06:46:32 +0300
commit4a48ef70b93b8c7ed5190adfca18849e76387b80 (patch)
tree5c825a29daaa3ba66d3c1a992da27f4f8ac77f18 /include/net/page_pool.h
parent640a171c9347b52da668dbf83473a05572f06055 (diff)
downloadlinux-4a48ef70b93b8c7ed5190adfca18849e76387b80.tar.xz
xdp: Allow registering memory model without rxq reference
The functions that register an XDP memory model take a struct xdp_rxq as parameter, but the RXQ is not actually used for anything other than pulling out the struct xdp_mem_info that it embeds. So refactor the register functions and export variants that just take a pointer to the xdp_mem_info. This is in preparation for enabling XDP_REDIRECT in bpf_prog_run(), using a page_pool instance that is not connected to any network device. Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220103150812.87914-2-toke@redhat.com
Diffstat (limited to 'include/net/page_pool.h')
0 files changed, 0 insertions, 0 deletions