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

Tzachi Dar tzachid at mellanox.co.il
Tue Nov 4 05:42:57 PST 2008


Applied to trunk and branch on 1726 1727.
 
Thanks
Tzachi


________________________________

	From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
	Sent: Sunday, November 02, 2008 5:01 PM
	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/20081104/93e060e6/attachment.html>


More information about the ofw mailing list