提交 60be4b59 编写于 作者: S Steve Wise 提交者: Roland Dreier

RDMA/cxgb3: Initialize cpu_idx field in cpl_close_listserv_req message

Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 1860cdf8
...@@ -1189,6 +1189,7 @@ static int listen_stop(struct iwch_listen_ep *ep) ...@@ -1189,6 +1189,7 @@ static int listen_stop(struct iwch_listen_ep *ep)
} }
req = (struct cpl_close_listserv_req *) skb_put(skb, sizeof(*req)); req = (struct cpl_close_listserv_req *) skb_put(skb, sizeof(*req));
req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD)); req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
req->cpu_idx = 0;
OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid)); OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid));
skb->priority = 1; skb->priority = 1;
ep->com.tdev->send(ep->com.tdev, skb); ep->com.tdev->send(ep->com.tdev, skb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册