Skip to content

Commit 12e5aac

Browse files
Devesh Sharmajsquyres
authored andcommitted
ompi/opal: add support for HDR link speeds
This patch enables to use adapters with HDR speeds. issue id 3431 Signed-off-by: Devesh Sharma <[email protected]> (cherry picked from commit 90e9b22)
1 parent 7848d55 commit 12e5aac

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)