net: page_pool: factor out releasing DMA from releasing the page
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Dec 2023 00:52:32 +0000 (16:52 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Dec 2023 05:59:04 +0000 (21:59 -0800)
commitc3f687d8dfeb33cffbb8f47c30002babfc4895d2
treec0b44d4c9253d082e56b45f612152155d5fd3742
parent0a149ab78ee220c75eef797abea7a29f4490e226
net: page_pool: factor out releasing DMA from releasing the page

Releasing the DMA mapping will be useful for other types
of pages, so factor it out. Make sure compiler inlines it,
to avoid any regressions.

Signed-off-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/page_pool.c