]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbnic: Move promisc_sync out of netdev code and into RPC path
authorAlexander Duyck <alexanderduyck@fb.com>
Tue, 26 Aug 2025 19:44:47 +0000 (12:44 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 28 Aug 2025 12:51:07 +0000 (14:51 +0200)
commitcf79bd4495112d93474ce9fda4564011b982dfe8
tree291f6821de8078c9da8a8e8e631e6be0740e6015
parent84482586b230d7491a4df1076627a367c75e1d8e
fbnic: Move promisc_sync out of netdev code and into RPC path

In order for us to support the BMC possibly connecting, disconnecting, and
then reconnecting we need to be able to support entities outside of just
the NIC setting up promiscuous mode as the BMC can use a multicast
promiscuous setup.

To support that we should move the promisc_sync code out of the netdev and
into the RPC section of the driver so that it is reachable from more paths.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/175623748769.2246365.2130394904175851458.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_netdev.c
drivers/net/ethernet/meta/fbnic/fbnic_rpc.c
drivers/net/ethernet/meta/fbnic/fbnic_rpc.h