netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH v2 0/6] Add support for 25G, 50G, and 100G to fbnic
@ 2025-06-12 15:08 Alexander Duyck
  2025-06-12 15:08 ` [net-next PATCH v2 1/6] net: phy: Add interface types for 50G and 100G Alexander Duyck
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Alexander Duyck @ 2025-06-12 15:08 UTC (permalink / raw)
  To: netdev
  Cc: linux, hkallweit1, andrew+netdev, davem, pabeni, kuba,
	kernel-team, edumazet

The fbnic driver up till now had avoided actually reporting link as the
phylink setup only supported up to 40G configurations. This changeset is
meant to start addressing that by adding support for 50G and 100G interface
types as well as the 200GBASE-CR4 media type which we can run them over.

With that basic support added fbnic can then set those types based on the
EEPROM configuration provided by the firmware and then report those speeds
out using the information provided via the phylink call for getting the
link ksettings. This provides the basic MAC support and enables supporting
the speeds as well as configuring flow control.

After this I plan to add support for a PHY that will represent the SerDes
PHY being used to manage the link as we need a way to indicate link
training into phylink to prevent link flaps on the PCS while the SerDes is
in training, and then after that I will look at rolling support for our
PCS/PMA into the XPCS driver.

v2:
- Fixed issue with fbnic_mac_get_fw_settings changes being pulled forward
  into patch 3 from patch 4.
- Updated CC list to include full list from maintainers.

---

Alexander Duyck (6):
      net: phy: Add interface types for 50G and 100G
      fbnic: Do not consider mailbox "initialized" until we have verified fw version
      fbnic: Replace 'link_mode' with 'aui'
      fbnic: Set correct supported modes and speeds based on FW setting
      fbnic: Add support for reporting link config
      fbnic: Add support for setting/getting pause configuration


 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |   5 +
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    |  23 +++-
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |   8 +-
 drivers/net/ethernet/meta/fbnic/fbnic_mac.c   |  89 +++++--------
 drivers/net/ethernet/meta/fbnic/fbnic_mac.h   |  21 +--
 .../net/ethernet/meta/fbnic/fbnic_netdev.c    |   2 -
 .../net/ethernet/meta/fbnic/fbnic_netdev.h    |  11 +-
 .../net/ethernet/meta/fbnic/fbnic_phylink.c   | 126 +++++++++++++++---
 drivers/net/phy/phy-core.c                    |   3 +
 drivers/net/phy/phy_caps.c                    |   9 ++
 drivers/net/phy/phylink.c                     |  13 ++
 drivers/net/phy/sfp-bus.c                     |  22 +++
 include/linux/phy.h                           |  12 ++
 include/linux/sfp.h                           |   1 +
 14 files changed, 257 insertions(+), 88 deletions(-)

--


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

end of thread, other threads:[~2025-06-17  7:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12 15:08 [net-next PATCH v2 0/6] Add support for 25G, 50G, and 100G to fbnic Alexander Duyck
2025-06-12 15:08 ` [net-next PATCH v2 1/6] net: phy: Add interface types for 50G and 100G Alexander Duyck
2025-06-12 15:08 ` [net-next PATCH v2 2/6] fbnic: Do not consider mailbox "initialized" until we have verified fw version Alexander Duyck
2025-06-12 15:08 ` [net-next PATCH v2 3/6] fbnic: Replace 'link_mode' with 'aui' Alexander Duyck
2025-06-16 15:34   ` Simon Horman
2025-06-16 16:14     ` Alexander Duyck
2025-06-17  7:00       ` Simon Horman
2025-06-12 15:08 ` [net-next PATCH v2 4/6] fbnic: Set correct supported modes and speeds based on FW setting Alexander Duyck
2025-06-12 15:08 ` [net-next PATCH v2 5/6] fbnic: Add support for reporting link config Alexander Duyck
2025-06-14 22:27   ` Andrew Lunn
2025-06-12 15:09 ` [net-next PATCH v2 6/6] fbnic: Add support for setting/getting pause configuration Alexander Duyck
2025-06-14 22:29   ` Andrew Lunn

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).