Skip to content

Commit 20f9c76

Browse files
authored
Merge pull request #4945 from jsquyres/pr/v2.x/ib-hdr-speed
v2.x: ompi/opal: add support for HDR link speeds
2 parents cfd8f3f + 5320419 commit 20f9c76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

opal/mca/common/verbs/common_verbs_port.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ int opal_common_verbs_port_bw(struct ibv_port_attr *port_attr,
6868
/* EDR: 25.78125 Gbps * 64/66, in megabits */
6969
*bandwidth = 25000;
7070
break;
71+
case 64:
72+
/* HDR: 50Gbps * 64/66, in megabits */
73+
*bandwidth = 50000;
74+
break;
7175
default:
7276
/* Who knows? */
7377
return OPAL_ERR_NOT_FOUND;

0 commit comments

Comments
 (0)