mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 02:34:10 -04:00
ionic: update ethtool support bits for BASET
Add support in get_link_ksettings for a couple of new BASET connections. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9b761574fe
commit
acc606d3e4
@@ -207,6 +207,14 @@ static int ionic_get_link_ksettings(struct net_device *netdev,
|
||||
ethtool_link_ksettings_add_link_mode(ks, supported,
|
||||
10000baseER_Full);
|
||||
break;
|
||||
case IONIC_XCVR_PID_SFP_10GBASE_T:
|
||||
ethtool_link_ksettings_add_link_mode(ks, supported,
|
||||
10000baseT_Full);
|
||||
break;
|
||||
case IONIC_XCVR_PID_SFP_1000BASE_T:
|
||||
ethtool_link_ksettings_add_link_mode(ks, supported,
|
||||
1000baseT_Full);
|
||||
break;
|
||||
case IONIC_XCVR_PID_UNKNOWN:
|
||||
/* This means there's no module plugged in */
|
||||
break;
|
||||
|
||||
@@ -1111,6 +1111,8 @@ enum ionic_xcvr_pid {
|
||||
IONIC_XCVR_PID_QSFP_100G_CWDM4 = 69,
|
||||
IONIC_XCVR_PID_QSFP_100G_PSM4 = 70,
|
||||
IONIC_XCVR_PID_SFP_25GBASE_ACC = 71,
|
||||
IONIC_XCVR_PID_SFP_10GBASE_T = 72,
|
||||
IONIC_XCVR_PID_SFP_1000BASE_T = 73,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user