[ofw] PATCH: Fix UDP checksum on windows server 2008

Tzachi Dar tzachid at mellanox.co.il
Sun Nov 2 07:01:12 PST 2008


It seems that we never had UDP checksum working on 2008.
For 2003 this was not a problem since there is no UDP checksum in any
case.
 
Thanks
Tzachi
 
Index: ulp/ipoib/kernel/ipoib_port.c
===================================================================
--- ulp/ipoib/kernel/ipoib_port.c (revision 1717)
+++ ulp/ipoib/kernel/ipoib_port.c (working copy)
@@ -3946,7 +3946,8 @@
   {
    p_desc->wr.send_opt |= IB_SEND_OPT_TX_IP_CSUM;
   }
-  if(pChecksumPktInfo->Transmit.NdisPacketTcpChecksum  ) 
+  if(pChecksumPktInfo->Transmit.NdisPacketTcpChecksum ||
+     pChecksumPktInfo->Transmit.NdisPacketUdpChecksum ) 
   {
    p_desc->wr.send_opt |= IB_SEND_OPT_TX_TCP_UDP_CSUM;
   }

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081102/f3eac103/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_2008_csum.patch
Type: application/octet-stream
Size: 542 bytes
Desc: ipoib_2008_csum.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081102/f3eac103/attachment.obj>


More information about the ofw mailing list