-
Notifications
You must be signed in to change notification settings - Fork 4
/
openmpi-2.1.6.PATCH
33 lines (31 loc) · 1.27 KB
/
openmpi-2.1.6.PATCH
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -up ./opal/mca/btl/openib/mca-btl-openib-device-params.ini.ORIG ./opal/mca/btl/openib/mca-btl-openib-device-params.ini
--- ./opal/mca/btl/openib/mca-btl-openib-device-params.ini.ORIG 2020-09-02 10:44:22.212245000 -0400
+++ ./opal/mca/btl/openib/mca-btl-openib-device-params.ini 2020-09-02 18:16:41.658047216 -0400
@@ -190,6 +190,15 @@ max_inline_data = 256
############################################################################
+[Mellanox ConnectX6]
+vendor_id = 0x2c9,0x5ad,0x66a,0x8f1,0x1708,0x03ba,0x15b3,0x119f
+vendor_part_id = 4123
+use_eager_rdma = 1
+mtu = 4096
+max_inline_data = 256
+
+############################################################################
+
[IBM eHCA 4x and 12x]
vendor_id = 0x5076
vendor_part_id = 0
diff -up ./opal/mca/common/verbs/common_verbs_port.c.ORIG ./opal/mca/common/verbs/common_verbs_port.c
--- ./opal/mca/common/verbs/common_verbs_port.c.ORIG 2018-08-04 13:28:59.000000000 -0400
+++ ./opal/mca/common/verbs/common_verbs_port.c 2020-09-01 22:08:40.187660000 -0400
@@ -94,6 +94,10 @@ int opal_common_verbs_port_bw(struct ibv
/* 12x */
*bandwidth *= 12;
break;
+ case 16:
+ /* 16x */
+ *bandwidth *= 16;
+ break;
default:
/* Who knows? */
return OPAL_ERR_NOT_FOUND;