Skip to content

Commit

Permalink
rxe: Set correct value in BTH 'ack request' bit
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hadarhenzion committed May 13, 2015
1 parent fa5569d commit 5ef743c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/infiniband/hw/rxe/rxe_resp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5ef743c

Please sign in to comment.