Skip to content

Commit 89da45b

Browse files
Gal Pressmandavem330
authored andcommitted
ethtool: Add 50G baseSR2 link mode
Add ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT bit. Signed-off-by: Gal Pressman <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Cc: Ben Hutchings <[email protected]> Cc: David Decotigny <[email protected]> Acked-By: David Decotigny <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 667daed commit 89da45b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/uapi/linux/ethtool.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ enum ethtool_link_mode_bit_indices {
13621362
ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37,
13631363
ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38,
13641364
ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39,
1365+
ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40,
13651366

13661367
/* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit
13671368
* 31. Please do NOT define any SUPPORTED_* or ADVERTISED_*
@@ -1370,7 +1371,7 @@ enum ethtool_link_mode_bit_indices {
13701371
*/
13711372

13721373
__ETHTOOL_LINK_MODE_LAST
1373-
= ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT,
1374+
= ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT,
13741375
};
13751376

13761377
#define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \

0 commit comments

Comments
 (0)