]> www.infradead.org Git - users/jedix/linux-maple.git/commit
page_pool: Move pp_magic check into helper functions
authorToke Høiland-Jørgensen <toke@redhat.com>
Wed, 9 Apr 2025 10:41:36 +0000 (12:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 14 Apr 2025 23:30:29 +0000 (16:30 -0700)
commitcd3c93167da0e760b5819246eae7a4ea30fd014b
tree820f0662ccf8b0e6d0cf0a5f174201cee98c6119
parent452446f812867230cad0bfbb00afb77e3412bbf3
page_pool: Move pp_magic check into helper functions

Since we are about to stash some more information into the pp_magic
field, let's move the magic signature checks into a pair of helper
functions so it can be changed in one place.

Reviewed-by: Mina Almasry <almasrymina@google.com>
Tested-by: Yonglong Liu <liuyonglong@huawei.com>
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20250409-page-pool-track-dma-v9-1-6a9ef2e0cba8@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c
include/linux/mm.h
mm/page_alloc.c
net/core/netmem_priv.h
net/core/skbuff.c
net/core/xdp.c