From 5ef743c31723773a9e8ffece6a2eb8e843854ebe Mon Sep 17 00:00:00 2001 From: Hadar Hen Zion Date: Wed, 6 May 2015 13:19:40 +0300 Subject: [PATCH] rxe: Set correct value in BTH 'ack request' bit The 'ack request' bit in the BTH is used to indicate that an acknowledge (for this packet) should be scheduled by the responder. In case of an ack packet, this bit should be cleared. Issue:535827 Change-Id: I3d43c29dd09abda83acfd4b3366f288e425cb856 Signed-off-by: Hadar Hen Zion --- drivers/infiniband/hw/rxe/rxe_resp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/rxe/rxe_resp.c b/drivers/infiniband/hw/rxe/rxe_resp.c index e38e0d5ab8bd..929385418e2f 100644 --- a/drivers/infiniband/hw/rxe/rxe_resp.c +++ b/drivers/infiniband/hw/rxe/rxe_resp.c @@ -630,6 +630,7 @@ static struct sk_buff *prepare_ack_packet(struct rxe_qp *qp, bth_set_pad(ack, pad); bth_set_se(ack, 0); bth_set_psn(ack, psn); + bth_set_ack(ack, 0); ack->psn = psn; if (ack->mask & RXE_AETH_MASK) {