]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: fbnic: defer page pool recycling activation to queue start
authorJakub Kicinski <kuba@kernel.org>
Mon, 1 Sep 2025 21:12:12 +0000 (14:12 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 4 Sep 2025 08:19:17 +0000 (10:19 +0200)
commit49c429ec6b624f35d506fdf759be28bf129da560
tree392363e64aeb2e90394b703c4efbfebbb5afb467
parent8a11010fdd9615e8dbb2f5d562ab88caa8a9516a
eth: fbnic: defer page pool recycling activation to queue start

We need to be more careful about when direct page pool recycling
is enabled in preparation for queue ops support. Don't set the
NAPI pointer, call page_pool_enable_direct_recycling() from
the function that activates the queue (once the config can
no longer fail).

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