]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: fbnic: rename fbnic_fw_clear_cmpl to fbnic_mbx_clear_cmpl
authorJakub Kicinski <kuba@kernel.org>
Tue, 24 Jun 2025 14:28:34 +0000 (07:28 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 26 Jun 2025 12:56:14 +0000 (14:56 +0200)
commitd42e5248c9fa7796d4e16b92cc084dc52b1d4731
tree60dd5a308dbb92c96c4153fb1fb2b70ae7f6f3db
parent536bc9b2d8e85a0e8155f0ccfa5dcf6813f1a81d
eth: fbnic: rename fbnic_fw_clear_cmpl to fbnic_mbx_clear_cmpl

fbnic_fw_clear_cmpl() does the inverse of fbnic_mbx_set_cmpl().
It removes the completion from the mailbox table.
It also calls fbnic_mbx_set_cmpl_slot() internally.
It should have fbnic_mbx prefix, not fbnic_fw.
I'm not very clear on what the distinction is between the two
prefixes but the matching "set" and "clear" functions should
use the same prefix.

While at it move the "clear" function closer to the "set".

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250624142834.3275164-6-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
drivers/net/ethernet/meta/fbnic/fbnic_fw.h
drivers/net/ethernet/meta/fbnic/fbnic_mac.c