]> Gentwo Git Trees - linux/.git/commit
eth: fbnic: Add support to read lane count
authorMohsin Bashir <mohsin.bashr@gmail.com>
Wed, 24 Sep 2025 18:44:45 +0000 (11:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 27 Sep 2025 00:27:35 +0000 (17:27 -0700)
commit20a2e46f9e4c3c9a8a17708f81db672a26738adc
tree1032a0e2a03062193157433751ca71c6739e3742
parente556f011e2df317b23ee44542189ed52c8117eea
eth: fbnic: Add support to read lane count

We are reporting the lane count in the link settings but the flag is not
set to indicate that the driver supports lanes. Set the flag to report
lane count.

 ~]# ethtool eth0 | grep Lanes
Lanes: 2

Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250924184445.2293325-1-mohsin.bashr@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c