]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: fbnic: split fbnic_enable()
authorJakub Kicinski <kuba@kernel.org>
Mon, 1 Sep 2025 21:12:08 +0000 (14:12 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 4 Sep 2025 08:19:17 +0000 (10:19 +0200)
commit8a47d940cf81cf14de48dc80846d29295babffbf
tree2c3fb1634b27b19754ad22701ce9f8227e3df18a
parentbe2be74af889398f6d0853bb2864b6f1a75aa550
eth: fbnic: split fbnic_enable()

Factor out handling a single nv from fbnic_enable() to make
it reusable for queue ops. Use a __ prefix for the factored
out code. The real fbnic_nv_enable() which will include
fbnic_wrfl() will be added with the qops, to avoid unused
function warnings.

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