netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next PATCH v3 0/8] Add support for 25G, 50G, and 100G to fbnic
@ 2025-06-18 22:07 Alexander Duyck
  2025-06-18 22:07 ` [net-next PATCH v3 1/8] net: phy: Add interface types for 50G and 100G Alexander Duyck
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Alexander Duyck @ 2025-06-18 22:07 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.

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.
v3:
- Stripped out the QSFP support from the first patch
- Split the third patch "fbnic: Replace link_mode with AUI" into 3
    fbnic: Retire "AUTO" flags and cleanup handling of FW link settings
    fbnic: Replace link_mode with AUI
    fbnic: Update FW link mode values to represent actual link modes
- Added Reviewed by to
    fbnic: Add support for setting/getting pause configuration
- Various wording fixes for patch descriptions due to patch splitting

---

Alexander Duyck (8):
      net: phy: Add interface types for 50G and 100G
      fbnic: Do not consider mailbox "initialized" until we have verified fw version
      fbnic: Retire "AUTO" flags and cleanup handling of FW link settings
      fbnic: Replace link_mode with AUI
      fbnic: Update FW link mode values to represent actual link modes
      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   |  95 ++++++-------
 drivers/net/ethernet/meta/fbnic/fbnic_mac.h   |  23 ++--
 .../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 ++
 include/linux/phy.h                           |  12 ++
 12 files changed, 237 insertions(+), 93 deletions(-)

--


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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 22:07 [net-next PATCH v3 0/8] Add support for 25G, 50G, and 100G to fbnic Alexander Duyck
2025-06-18 22:07 ` [net-next PATCH v3 1/8] net: phy: Add interface types for 50G and 100G Alexander Duyck
2025-06-18 22:07 ` [net-next PATCH v3 2/8] fbnic: Do not consider mailbox "initialized" until we have verified fw version Alexander Duyck
2025-06-18 22:07 ` [net-next PATCH v3 3/8] fbnic: Retire "AUTO" flags and cleanup handling of FW link settings Alexander Duyck
2025-06-18 22:07 ` [net-next PATCH v3 4/8] fbnic: Replace link_mode with AUI Alexander Duyck
2025-06-18 22:07 ` [net-next PATCH v3 5/8] fbnic: Update FW link mode values to represent actual link modes Alexander Duyck
2025-06-18 22:07 ` [net-next PATCH v3 6/8] fbnic: Set correct supported modes and speeds based on FW setting Alexander Duyck
2025-06-18 22:08 ` [net-next PATCH v3 7/8] fbnic: Add support for reporting link config Alexander Duyck
2025-06-18 22:08 ` [net-next PATCH v3 8/8] fbnic: Add support for setting/getting pause configuration Alexander Duyck
2025-06-19  8:44 ` [net-next PATCH v3 0/8] Add support for 25G, 50G, and 100G to fbnic Paolo Abeni
2025-06-19 15:17   ` Jakub Kicinski
2025-06-20 14:36   ` Jakub Kicinski
2025-06-24  7:28     ` Paolo Abeni
2025-06-24  7:50 ` 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).