]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: fbnic: move page pool alloc to fbnic_alloc_rx_qt_resources()
authorJakub Kicinski <kuba@kernel.org>
Mon, 1 Sep 2025 21:12:03 +0000 (14:12 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 4 Sep 2025 08:19:16 +0000 (10:19 +0200)
commitb6396b71d196e7451b549d471ed76d3730a16613
tree7676b1106b1164a8262a2bad0137fe383eeead92
parent894d4a4ea6cbd82a140121f3e9d402f2fe3f09fc
eth: fbnic: move page pool alloc to fbnic_alloc_rx_qt_resources()

page pools are now at the ring level, move page pool alloc
to fbnic_alloc_rx_qt_resources(), and freeing to
fbnic_free_qt_resources().

This significantly simplifies fbnic_alloc_napi_vector() error
handling, by removing a late failure point.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250901211214.1027927-4-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c