summaryrefslogtreecommitdiffstats
path: root/include/linux/ntb.h
diff options
context:
space:
mode:
authorSerge Semin <fancer.lancer@gmail.com>2016-12-13 18:49:20 -0500
committerJon Mason <jdmason@kudzu.us>2017-07-06 11:30:07 -0400
commit85dce3aaae98a8440f4a1a2404bcbab890574b46 (patch)
tree249cbeb385cab5e0da2a5f6e74e5e64ff6777ae6 /include/linux/ntb.h
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/ntb.h')
-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)
108 * @NTB_SPEED_GEN1: Link is trained to gen1 speed. 108 * @NTB_SPEED_GEN1: Link is trained to gen1 speed.
109 * @NTB_SPEED_GEN2: Link is trained to gen2 speed. 109 * @NTB_SPEED_GEN2: Link is trained to gen2 speed.
110 * @NTB_SPEED_GEN3: Link is trained to gen3 speed. 110 * @NTB_SPEED_GEN3: Link is trained to gen3 speed.
111 * @NTB_SPEED_GEN4: Link is trained to gen4 speed.
111 */ 112 */
112enum ntb_speed { 113enum ntb_speed {
113 NTB_SPEED_AUTO = -1, 114 NTB_SPEED_AUTO = -1,
@@ -115,6 +116,7 @@ enum ntb_speed {
115 NTB_SPEED_GEN1 = 1, 116 NTB_SPEED_GEN1 = 1,
116 NTB_SPEED_GEN2 = 2, 117 NTB_SPEED_GEN2 = 2,
117 NTB_SPEED_GEN3 = 3, 118 NTB_SPEED_GEN3 = 3,
119 NTB_SPEED_GEN4 = 4
118}; 120};
119 121
120/** 122/**