summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2014-04-09 09:38:27 -0500
committerRoland Dreier <roland@purestorage.com>2014-04-11 11:36:09 -0700
commitc3f98fa29176753a759ade424f18b11f440b19f4 (patch)
tree6d50d717f1545e06ead3497ea172b6347544c232 /drivers/infiniband
parentaec844df104f1e45cafd10628481f256908554c4 (diff)
downloadop-kernel-dev-c3f98fa29176753a759ade424f18b11f440b19f4.zip
op-kernel-dev-c3f98fa29176753a759ade424f18b11f440b19f4.tar.gz
RDMA/cxgb4: Initialize reserved fields in a FW work request
Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/qp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c
index 2c037e1..5a7d368 100644
--- a/drivers/infiniband/hw/cxgb4/qp.c
+++ b/drivers/infiniband/hw/cxgb4/qp.c
@@ -436,6 +436,8 @@ static int build_rdma_send(struct t4_sq *sq, union t4_wr *wqe,
default:
return -EINVAL;
}
+ wqe->send.r3 = 0;
+ wqe->send.r4 = 0;
plen = 0;
if (wr->num_sge) {
OpenPOWER on IntegriCloud