diff options
author | Steve Wise <swise@opengridcomputing.com> | 2014-04-09 09:38:27 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-04-11 11:36:09 -0700 |
commit | c3f98fa29176753a759ade424f18b11f440b19f4 (patch) | |
tree | 6d50d717f1545e06ead3497ea172b6347544c232 /drivers/infiniband | |
parent | aec844df104f1e45cafd10628481f256908554c4 (diff) | |
download | linux-stable-c3f98fa29176753a759ade424f18b11f440b19f4.tar.gz linux-stable-c3f98fa29176753a759ade424f18b11f440b19f4.tar.bz2 linux-stable-c3f98fa29176753a759ade424f18b11f440b19f4.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 2c037e1746d3..5a7d368aa47a 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) { |