netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH 0/4] fbnic: Synchronize address handling with BMC
@ 2025-08-26 19:44 Alexander Duyck
  2025-08-26 19:44 ` [net-next PATCH 1/4] fbnic: Move promisc_sync out of netdev code and into RPC path Alexander Duyck
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Alexander Duyck @ 2025-08-26 19:44 UTC (permalink / raw)
  To: netdev; +Cc: kuba, kernel-team, andrew+netdev, pabeni, davem

The fbnic driver needs to communicate with the BMC if it is operating on
the RMII-based transport (RBT) of the same port the host is on. To enable
this we need to add rules that will route BMC traffic to the RBT/BMC and
the BMC and firmware need to configure rules on the RBT side of the
interface to route traffic from the BMC to the host instead of the MAC.

To enable that this patch set addresses two issues. First it will cause the
TCAM to be reconfigured in the event that the BMC was not previously
present when the driver was loaded, but the FW sends a notification that
the FW capabilities have changed and a BMC w/ various MAC addresses is now
present. Second it adds support for sending a message to the firmware so
that if the host adds additional MAC addresses the FW can be made aware and
route traffic for those addresses from the RBT to the host instead of the
MAC.

---

Alexander Duyck (4):
      fbnic: Move promisc_sync out of netdev code and into RPC path
      fbnic: Pass fbnic_dev instead of netdev to __fbnic_set/clear_rx_mode
      fbnic: Add logic to repopulate RPC TCAM if BMC enables channel
      fbnic: Push local unicast MAC addresses to FW to populate TCAMs


 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    | 106 ++++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |  23 +++-
 .../net/ethernet/meta/fbnic/fbnic_netdev.c    |  60 ++--------
 .../net/ethernet/meta/fbnic/fbnic_netdev.h    |   4 +-
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c   |   6 +-
 drivers/net/ethernet/meta/fbnic/fbnic_rpc.c   |  86 ++++++++++++--
 drivers/net/ethernet/meta/fbnic/fbnic_rpc.h   |   4 +
 7 files changed, 225 insertions(+), 64 deletions(-)

--


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-08-28 15:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26 19:44 [net-next PATCH 0/4] fbnic: Synchronize address handling with BMC Alexander Duyck
2025-08-26 19:44 ` [net-next PATCH 1/4] fbnic: Move promisc_sync out of netdev code and into RPC path Alexander Duyck
2025-08-28 10:25   ` Simon Horman
2025-08-26 19:44 ` [net-next PATCH 2/4] fbnic: Pass fbnic_dev instead of netdev to __fbnic_set/clear_rx_mode Alexander Duyck
2025-08-28 10:25   ` Simon Horman
2025-08-26 19:45 ` [net-next PATCH 3/4] fbnic: Add logic to repopulate RPC TCAM if BMC enables channel Alexander Duyck
2025-08-28 10:26   ` Simon Horman
2025-08-26 19:45 ` [net-next PATCH 4/4] fbnic: Push local unicast MAC addresses to FW to populate TCAMs Alexander Duyck
2025-08-28 10:26   ` Simon Horman
2025-08-28 10:46 ` [net-next PATCH 0/4] fbnic: Synchronize address handling with BMC Paolo Abeni
2025-08-28 12:50   ` Paolo Abeni
2025-08-28 15:09     ` Alexander Duyck
2025-08-28 13:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).