<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@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;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Please pull the following fix from <o:p></o:p></p>
<p class="MsoNormal">git.openfabrics.org/~mmarciniszyn/scm/linux-2.6.to_ofed. This fixes an issue revealed during OFED 1.5.3 testing.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mike<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">commit 0012f25501856cf0f47397fbb57e26bf46b11b99<o:p></o:p></p>
<p class="MsoNormal">Author: Mike Marciniszyn <mike.marciniszyn@qlogic.com><o:p></o:p></p>
<p class="MsoNormal">Date: Wed Feb 16 09:47:41 2011 -0500<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> IB/qib: Prevent double completions after a timeout or RNR error<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> From: Mike Marciniszyn <mike.marciniszyn@qlogic.com><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> There is a double completion associated with error handling<o:p></o:p></p>
<p class="MsoNormal"> for RC QP's.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> The sequence is:<o:p></o:p></p>
<p class="MsoNormal"> - The do_rc_ack() routine fields an RNR nack and there are 0 rnr_retries<o:p></o:p></p>
<p class="MsoNormal"> configured on the QP.<o:p></o:p></p>
<p class="MsoNormal"> - qib_error_qp() stops the pending timer<o:p></o:p></p>
<p class="MsoNormal"> - qib_rc_send_complete() is called from sdma_complete()<o:p></o:p></p>
<p class="MsoNormal"> - qib_rc_send_complete() starts the timer because the msb of the psn just<o:p></o:p></p>
<p class="MsoNormal"> completed says and ack is needed.<o:p></o:p></p>
<p class="MsoNormal"> - a bunch of flushes occur as ipoib posts wqe's to an error'ed qp<o:p></o:p></p>
<p class="MsoNormal"> - rc_timeout() calls qib_restart_rc()<o:p></o:p></p>
<p class="MsoNormal"> - qib_restart_rc() calls qib_send_complete() with a IB_WC_RETRY_EXC_ERR on a<o:p></o:p></p>
<p class="MsoNormal"> wqe that has already been completed in the past<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> The fix avoids starting the timer since another packet will never<o:p></o:p></p>
<p class="MsoNormal"> arrive.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com><o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute,
or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.<br>
</font>
</body>
</html>