diff options
author | Steve Wise <swise@opengridcomputing.com> | 2014-04-09 10:38:27 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-04-11 14:36:09 -0400 |
commit | c3f98fa29176753a759ade424f18b11f440b19f4 (patch) | |
tree | 6d50d717f1545e06ead3497ea172b6347544c232 /drivers/infiniband/hw/cxgb4/qp.c | |
parent | aec844df104f1e45cafd10628481f256908554c4 (diff) |
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/hw/cxgb4/qp.c')
-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, | |||
436 | default: | 436 | default: |
437 | return -EINVAL; | 437 | return -EINVAL; |
438 | } | 438 | } |
439 | wqe->send.r3 = 0; | ||
440 | wqe->send.r4 = 0; | ||
439 | 441 | ||
440 | plen = 0; | 442 | plen = 0; |
441 | if (wr->num_sge) { | 443 | if (wr->num_sge) { |