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>
This commit is contained in:
committed by
Roland Dreier
parent
aec844df10
commit
c3f98fa291
@@ -436,6 +436,8 @@ static int build_rdma_send(struct t4_sq *sq, union t4_wr *wqe,
|
|||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
wqe->send.r3 = 0;
|
||||||
|
wqe->send.r4 = 0;
|
||||||
|
|
||||||
plen = 0;
|
plen = 0;
|
||||||
if (wr->num_sge) {
|
if (wr->num_sge) {
|
||||||
|
Reference in New Issue
Block a user