summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-08-19 19:56:50 -0700
committerJakub Kicinski <kuba@kernel.org>2025-08-21 08:03:54 -0700
commit07cf71bf25cd4e5735ff13468e7b86f02c3665cb (patch)
treef38bb859939713242358651b695efd30d0cc430e /rust/helpers/helpers.c
parentae76e8d2c27e714b1258f803de8b03e003a04df2 (diff)
net: page_pool: add page_pool_get()
There is a page_pool_put() function but no get equivalent. Having multiple references to a page pool is quite useful. It avoids branching in create / destroy paths in drivers which support memory providers. Use the new helper in bnxt. Acked-by: Jesper Dangaard Brouer <hawk@kernel.org> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20250820025704.166248-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions