summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ethtool.h
diff options
context:
space:
mode:
authorZhu Yanjun2017-05-04 07:24:51 +0200
committerDoug Ledford2017-05-05 01:31:46 +0200
commit0d7e2d2166f6b0b7d1959ca858052a15feb574cc (patch)
tree65bc75a84e0c268467bd06545bb297f8ccc6d042 /include/uapi/linux/ethtool.h
parentinfiniband: avoid dereferencing uninitialized dst on error path (diff)
downloadkernel-qcow2-linux-0d7e2d2166f6b0b7d1959ca858052a15feb574cc.tar.gz
kernel-qcow2-linux-0d7e2d2166f6b0b7d1959ca858052a15feb574cc.tar.xz
kernel-qcow2-linux-0d7e2d2166f6b0b7d1959ca858052a15feb574cc.zip
IB/ipoib: add get_link_ksettings in ethtool
In order to let the bonding driver report the correct speed of the underlaying interfaces, when they are IPoIB, the ethtool function get_link_ksettings() in the IPoIB driver is implemented. Cc: Joe Jin <joe.jin@oracle.com> Cc: Junxiao Bi <junxiao.bi@oracle.com> Suggested-by: HÃ¥kon Bugge <Haakon.Bugge@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/linux/ethtool.h')
-rw-r--r--include/uapi/linux/ethtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index 5f4ea28eabe4..d179d7767f51 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -1494,6 +1494,7 @@ enum ethtool_link_mode_bit_indices {
#define SPEED_2500 2500
#define SPEED_5000 5000
#define SPEED_10000 10000
+#define SPEED_14000 14000
#define SPEED_20000 20000
#define SPEED_25000 25000
#define SPEED_40000 40000