[ofa-general] [PATCH 1/1] SDP - Bug644 fix (DisConn, ChRcvBuf and ChRcvBufAck are sent solicited)

Jim Mott jim at mellanox.com
Mon Oct 22 13:24:32 PDT 2007


This patch brings the implementation into compliance with A4.11.2 which
says that these messages are not to be sent as solicited.

Signed-off-by: Jim Mott <jim at mellanox.com>

This patch was created by Ami Perlmuter on May 30, 2007 and attached to
bug 644.  I missed getting it into 1.2.5.
---


Index: ofa_1_3_dev_kernel/drivers/infiniband/ulp/sdp/sdp_bcopy.c
===================================================================
--- ofa_1_3_dev_kernel.orig/drivers/infiniband/ulp/sdp/sdp_bcopy.c
2007-10-10 09:04:36.000000000 -0500
+++ ofa_1_3_dev_kernel/drivers/infiniband/ulp/sdp/sdp_bcopy.c
2007-10-10 15:37:57.000000000 -0500
@@ -163,8 +163,7 @@ void sdp_post_send(struct sdp_sock *ssk,
 	ssk->tx_wr.num_sge = frags + 1;
 	ssk->tx_wr.opcode = IB_WR_SEND;
 	ssk->tx_wr.send_flags = IB_SEND_SIGNALED;
-	if (unlikely(mid != SDP_MID_DATA) ||
-	    unlikely(TCP_SKB_CB(skb)->flags & TCPCB_URG))
+	if (unlikely(TCP_SKB_CB(skb)->flags & TCPCB_URG))
 		ssk->tx_wr.send_flags |= IB_SEND_SOLICITED;
 	rc = ib_post_send(ssk->qp, &ssk->tx_wr, &bad_wr);
 	++ssk->tx_head;





More information about the general mailing list