<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Tahoma;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>Basically the fix is part of code prior to rev 1430 in case
csum offloading is not supported.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>Also added a fix on send path.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>Anatoly.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>Index: ulp/ipoib/kernel/ipoib_port.c<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>===================================================================<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>--- ulp/ipoib/kernel/ipoib_port.c (revision
1521)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+++ ulp/ipoib/kernel/ipoib_port.c (working copy)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>@@ -2582,8 +2582,17 @@<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> /* Get
the checksums directly from packet information. */<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ if ( !p_port->p_adapter->params.recv_chksum_offload
)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ p_desc->ndis_csum.Value
= 0;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ p_desc->ndis_csum.Receive.NdisPacketTcpChecksumSucceeded
= TRUE;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ p_desc->ndis_csum.Receive.NdisPacketUdpChecksumSucceeded
= TRUE;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ p_desc->ndis_csum.Receive.NdisPacketIpChecksumSucceeded
= TRUE;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ }<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> NDIS_PER_PACKET_INFO_FROM_PACKET(
*pp_packet, TcpIpChecksumPacketInfo ) = <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> (PVOID)
(uintn_t) (p_desc->ndis_csum.Value);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> ipoib_inc_recv_stat(
p_port->p_adapter, type, p_desc->len );<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> </span></font><font
size=2 face=Tahoma><span lang=PT-BR style='font-size:11.0pt;font-family:Tahoma'>IPOIB_EXIT(
IPOIB_DBG_RECV );<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>@@ -3862,7 +3871,7 @@<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> p_desc->wr.p_next
= NULL;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> p_desc->wr.wr_id
= (uintn_t)p_desc->p_pkt;<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>- if(p_port->p_adapter->params.send_chksum_offload
& <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'>+ if(p_port->p_adapter->params.send_chksum_offload
&& <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> (pChecksumPktInfo->Transmit.NdisPacketChecksumV4
|| pChecksumPktInfo->Transmit.NdisPacketChecksumV6))<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:11.0pt;
font-family:Tahoma'> //
Set transimition checksum offloading<o:p></o:p></span></font></p>
</div>
</body>
</html>