[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<174974059576.3327565.11541374883434516600.stgit@ahduyck-xeon-server.home.arpa>
Date: Thu, 12 Jun 2025 08:08:20 -0700
From: Alexander Duyck <alexander.duyck@...il.com>
To: netdev@...r.kernel.org
Cc: linux@...linux.org.uk, hkallweit1@...il.com, andrew+netdev@...n.ch,
davem@...emloft.net, pabeni@...hat.com, kuba@...nel.org,
kernel-team@...a.com, edumazet@...gle.com
Subject: [net-next PATCH v2 0/6] Add support for 25G, 50G, and 100G to fbnic
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(-)
--
Powered by blists - more mailing lists