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

Factor out handling a single nv from fbnic_disable() to make
it reusable for queue ops. Use a __ prefix for the factored
out code. The real fbnic_nv_disable() 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-7-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c