From 532041992850cf7a2fa4ed16a2893069bd1e9c2b Mon Sep 17 00:00:00 2001 From: Devesh Sharma Date: Fri, 28 Apr 2017 09:05:05 -0400 Subject: [PATCH] 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 (cherry picked from commit 90e9b2219630877f7fb43ca1ec56ccf6c3c32cf6) --- opal/mca/common/verbs/common_verbs_port.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opal/mca/common/verbs/common_verbs_port.c b/opal/mca/common/verbs/common_verbs_port.c index 831ba3fbccd..973a82666ef 100644 --- a/opal/mca/common/verbs/common_verbs_port.c +++ b/opal/mca/common/verbs/common_verbs_port.c @@ -68,6 +68,10 @@ int opal_common_verbs_port_bw(struct ibv_port_attr *port_attr, /* EDR: 25.78125 Gbps * 64/66, in megabits */ *bandwidth = 25000; break; + case 64: + /* HDR: 50Gbps * 64/66, in megabits */ + *bandwidth = 50000; + break; default: /* Who knows? */ return OPAL_ERR_NOT_FOUND;