Skip to content

Commit 40b396c

Browse files
authored
Merge pull request open-mpi#7175 from Akshay-Venkatesh/topic/v4.0.x-openib-cx6-detect
OPAL/MCA/BTL/OPENIB: Detect ConnectX-6 HCAs
2 parents a2304eb + db3e563 commit 40b396c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

opal/mca/btl/openib/mca-btl-openib-device-params.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,15 @@ max_inline_data = 256
190190

191191
############################################################################
192192

193+
[Mellanox ConnectX6]
194+
vendor_id = 0x2c9,0x5ad,0x66a,0x8f1,0x1708,0x03ba,0x15b3,0x119f
195+
vendor_part_id = 4123
196+
use_eager_rdma = 1
197+
mtu = 4096
198+
max_inline_data = 256
199+
200+
############################################################################
201+
193202
[IBM eHCA 4x and 12x]
194203
vendor_id = 0x5076
195204
vendor_part_id = 0

opal/mca/common/verbs/common_verbs_port.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ int opal_common_verbs_port_bw(struct ibv_port_attr *port_attr,
9494
/* 12x */
9595
*bandwidth *= 12;
9696
break;
97+
case 16:
98+
/* 16x */
99+
*bandwidth *= 16;
100+
break;
97101
default:
98102
/* Who knows? */
99103
return OPAL_ERR_NOT_FOUND;

0 commit comments

Comments
 (0)