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

Anatoly Greenblatt anatolyg at voltaire.com
Sun Nov 2 07:38:14 PST 2008


Great job. That explains why udp test was not working on 2008.

Does it work on Arbel?

 

Thanks,

Anatoly.

 

________________________________

From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
Sent: Sunday, November 02, 2008 17:01
To: ofw at lists.openfabrics.org
Subject: [ofw] PATCH: Fix UDP checksum on windows server 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/4f56f61e/attachment.html>


More information about the ofw mailing list