commit | c3f98fa29176753a759ade424f18b11f440b19f4 | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Wed Apr 09 09:38:27 2014 -0500 |
committer | Roland Dreier <roland@purestorage.com> | Fri Apr 11 11:36:09 2014 -0700 |
tree | 6d50d717f1545e06ead3497ea172b6347544c232 | |
parent | aec844df104f1e45cafd10628481f256908554c4 [diff] [blame] |
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>
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 @@ default: return -EINVAL; } + wqe->send.r3 = 0; + wqe->send.r4 = 0; plen = 0; if (wr->num_sge) {