<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I just upgraded a couple of nodes in one of our clusters from CentOS 6 to CentOS 7 and after the upgrade the Infiniband connection dropped from QDR rates to DDR rates.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m trying to figure out how to troubleshoot or fix this. If anybody has seen this and knows what is going on that would be great too.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The 2 hosts in question have QLogic IBA7322 HCAs which is using the ib_qib driver.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">There are other hosts connected to the same switch that have the same HCA, but haven’t been upgraded from CentOS 6 to 7 yet and they are connecting at full QDR speeds.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Ibstatus shows:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Infiniband device 'qib0' port 1 status:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        default gid:     fe80:0000:0000:0000:0011:7500:0070:2f82<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        base lid:        0xb4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        sm lid:          0x115<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        state:           4: ACTIVE<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        phys state:      5: LinkUp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        rate:            20 Gb/sec (4X DDR)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        link_layer:      InfiniBand<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ibportstate shows an active link speed of 5.0 Gbps, but also shows that 10.0 Gbps is supported<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[root@compute128 ~]# ibportstate 180 1 query<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">CA/RT PortInfo:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Port info: Lid 180 port 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkState:.......................Active<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PhysLinkState:...................LinkUp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Lid:.............................180<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">SMLid:...........................277<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LMC:.............................0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkWidthSupported:..............1X or 4X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkWidthEnabled:................1X or 4X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkWidthActive:.................4X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkSpeedEnabled:................2.5 Gbps or 10.0 Gbps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkSpeedActive:.................5.0 Gbps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Mkey:............................<not displayed><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">MkeyLeasePeriod:.................0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ProtectBits:.....................0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have tried changing the speed with the ibportstate command, but it fails:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">[root@compute128 ~]# ibportstate 180 1 speed 10<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Initial CA/RT PortInfo:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Port info: Lid 180 port 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkState:.......................Active<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">PhysLinkState:...................LinkUp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Lid:.............................180<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">SMLid:...........................277<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LMC:.............................0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkWidthSupported:..............1X or 4X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkWidthEnabled:................1X or 4X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkWidthActive:.................4X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkSpeedEnabled:................2.5 Gbps or 10.0 Gbps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">LinkSpeedActive:.................5.0 Gbps<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Mkey:............................<not displayed><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">MkeyLeasePeriod:.................0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ProtectBits:.....................0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ibportstate: iberror: failed: smp set portinfo failed<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any thoughts on how to troubleshoot or fix this would be appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Mike Robbert<o:p></o:p></span></p>
</div>
</body>
</html>