net-next: ethtool: Added port speed macros.
authorParav Pandit <parav.pandit@avagotech.com>
Mon, 18 May 2015 11:01:47 +0000 (16:31 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2015 20:32:18 +0000 (16:32 -0400)
Signed-off-by: Parav Pandit <parav.pandit@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ethtool.h

index 2e49fc880d29a31bc167142748b23356c1b72005..ae832b45b44c01fe149547eb07734865dabcd478 100644 (file)
@@ -1264,15 +1264,19 @@ enum ethtool_sfeatures_retval_bits {
  * it was forced up into this mode or autonegotiated.
  */
 
-/* The forced speed, 10Mb, 100Mb, gigabit, [2.5|10|20|40|56]GbE. */
+/* The forced speed, 10Mb, 100Mb, gigabit, [2.5|5|10|20|25|40|50|56|100]GbE. */
 #define SPEED_10               10
 #define SPEED_100              100
 #define SPEED_1000             1000
 #define SPEED_2500             2500
+#define SPEED_5000             5000
 #define SPEED_10000            10000
 #define SPEED_20000            20000
+#define SPEED_25000            25000
 #define SPEED_40000            40000
+#define SPEED_50000            50000
 #define SPEED_56000            56000
+#define SPEED_100000           100000
 
 #define SPEED_UNKNOWN          -1