Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Mohsin Bashir and committed by
Jakub Kicinski
20a2e46f e556f011

+1
+1
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
··· 1864 1864 } 1865 1865 1866 1866 static const struct ethtool_ops fbnic_ethtool_ops = { 1867 + .cap_link_lanes_supported = true, 1867 1868 .supported_coalesce_params = ETHTOOL_COALESCE_USECS | 1868 1869 ETHTOOL_COALESCE_RX_MAX_FRAMES, 1869 1870 .supported_ring_params = ETHTOOL_RING_USE_TCP_DATA_SPLIT |