]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fbnic: Set correct supported modes and speeds based on FW setting
authorAlexander Duyck <alexanderduyck@fb.com>
Wed, 18 Jun 2025 22:07:55 +0000 (15:07 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Jun 2025 07:31:46 +0000 (09:31 +0200)
commit22780f69fb45d546d2ae32479317049de3621729
tree136cb7aea8688b9090b5180e2506c2412153e619
parent0853d8521bc1ef71bbedab4aadd3b833287fd521
fbnic: Set correct supported modes and speeds based on FW setting

The fbnic driver was using the XLGMII link mode to enable phylink, however
that mode wasn't the correct one to use as the NIC doesn't actually use
XLGMII, it is using a combinations of 25G, 50G, and 100G interface modes
and configuring those via pins exposed on the PCS, MAC, and PHY interfaces.
To more accurately reflect that we should drop the uxe of XGMII and XLGMII
and instead use the correct interface types.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/175028447568.625704.17971496887030109107.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_mac.c
drivers/net/ethernet/meta/fbnic/fbnic_mac.h
drivers/net/ethernet/meta/fbnic/fbnic_phylink.c