aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2007-04-26 16:21:15 -0400
committerRoland Dreier <rolandd@cisco.com>2007-04-30 20:30:28 -0400
commit60be4b5966e22040f97db9dada72841bf90479d1 (patch)
tree0a3f7a26bb3a0e397e89ea39cc67e03728402a1e
parent1860cdf802310e4a988e0b8fca41cc97da36f779 (diff)
RDMA/cxgb3: Initialize cpu_idx field in cpl_close_listserv_req message
Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/hw/cxgb3/iwch_cm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c
index 3b4b0acd707f..a02be40ee29b 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_cm.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c
@@ -1189,6 +1189,7 @@ static int listen_stop(struct iwch_listen_ep *ep)
1189 } 1189 }
1190 req = (struct cpl_close_listserv_req *) skb_put(skb, sizeof(*req)); 1190 req = (struct cpl_close_listserv_req *) skb_put(skb, sizeof(*req));
1191 req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD)); 1191 req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
1192 req->cpu_idx = 0;
1192 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid)); 1193 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid));
1193 skb->priority = 1; 1194 skb->priority = 1;
1194 ep->com.tdev->send(ep->com.tdev, skb); 1195 ep->com.tdev->send(ep->com.tdev, skb);