Skip to content

Commit acc606d

Browse files
emuslndavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9b76157 commit acc606d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

drivers/net/ethernet/pensando/ionic/ionic_ethtool.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,14 @@ static int ionic_get_link_ksettings(struct net_device *netdev,
207207
ethtool_link_ksettings_add_link_mode(ks, supported,
208208
10000baseER_Full);
209209
break;
210+
case IONIC_XCVR_PID_SFP_10GBASE_T:
211+
ethtool_link_ksettings_add_link_mode(ks, supported,
212+
10000baseT_Full);
213+
break;
214+
case IONIC_XCVR_PID_SFP_1000BASE_T:
215+
ethtool_link_ksettings_add_link_mode(ks, supported,
216+
1000baseT_Full);
217+
break;
210218
case IONIC_XCVR_PID_UNKNOWN:
211219
/* This means there's no module plugged in */
212220
break;

drivers/net/ethernet/pensando/ionic/ionic_if.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,8 @@ enum ionic_xcvr_pid {
11111111
IONIC_XCVR_PID_QSFP_100G_CWDM4 = 69,
11121112
IONIC_XCVR_PID_QSFP_100G_PSM4 = 70,
11131113
IONIC_XCVR_PID_SFP_25GBASE_ACC = 71,
1114+
IONIC_XCVR_PID_SFP_10GBASE_T = 72,
1115+
IONIC_XCVR_PID_SFP_1000BASE_T = 73,
11141116
};
11151117

11161118
/**

0 commit comments

Comments
 (0)