diff options
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | 2021-07-02 04:40:33 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-07-26 09:18:45 +0200 |
commit | d20cf6b6c3ff15ff497bd96882b28616048b35eb (patch) | |
tree | f4b53903b22e00f6f49fd3772430aae4b6fdaeb0 /include | |
parent | 0c383a79577b95e745abe466fab5fd744887dec8 (diff) | |
download | u-boot-d20cf6b6c3ff15ff497bd96882b28616048b35eb.zip u-boot-d20cf6b6c3ff15ff497bd96882b28616048b35eb.tar.gz u-boot-d20cf6b6c3ff15ff497bd96882b28616048b35eb.tar.bz2 |
net: ethtool: Add ethernet speed macros for higher speeds
Add speed macro's for higher ethernet speeds to be used in u-boot
networking drivers. Added Macros for speeds 14G, 20G, 25G, 40G, 50G,
56G, 100G and 200G inline with linux.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ethtool.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index f6dbdb0..aa7d2fd 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -620,6 +620,14 @@ enum ethtool_sfeatures_retval_bits { #define SPEED_1000 1000 #define SPEED_2500 2500 #define SPEED_10000 10000 +#define SPEED_14000 14000 +#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_200000 200000 /* Duplex, half or full. */ #define DUPLEX_HALF 0x00 |