summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSerge Semin <fancer.lancer@gmail.com>2016-12-14 02:49:20 +0300
committerJon Mason <jdmason@kudzu.us>2017-07-06 11:30:07 -0400
commit85dce3aaae98a8440f4a1a2404bcbab890574b46 (patch)
tree249cbeb385cab5e0da2a5f6e74e5e64ff6777ae6 /include/linux
parentcdcca896aee19e338adf3000512cade4befa5c69 (diff)
NTB: Add PCIe Gen4 link speed
Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Acked-by: Allen Hubbe <Allen.Hubbe@dell.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ntb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ntb.h b/include/linux/ntb.h
index d59688f91618..a6f569727845 100644
--- a/include/linux/ntb.h
+++ b/include/linux/ntb.h
@@ -108,6 +108,7 @@ static inline char *ntb_topo_string(enum ntb_topo topo)
* @NTB_SPEED_GEN1: Link is trained to gen1 speed.
* @NTB_SPEED_GEN2: Link is trained to gen2 speed.
* @NTB_SPEED_GEN3: Link is trained to gen3 speed.
+ * @NTB_SPEED_GEN4: Link is trained to gen4 speed.
*/
enum ntb_speed {
NTB_SPEED_AUTO = -1,
@@ -115,6 +116,7 @@ enum ntb_speed {
NTB_SPEED_GEN1 = 1,
NTB_SPEED_GEN2 = 2,
NTB_SPEED_GEN3 = 3,
+ NTB_SPEED_GEN4 = 4
};
/**