Skip to contentSkip to conversation

RDMA/rxe: [BUG-REPORT] Incorrect rnr retry behavior

DISCUSSION Bob Pearson 1 participant 1 message May 7, 2022 InfiniBand

lore
Share & tools
lore
#0 lore raw

(Not related to blktests at all)

When running the python test suite repeatedly (~50-100X) I occasionally see RNR retry failures. With some tracing it turns out that the rxe driver *never* waits for the rnr_nak_timer to expire before retrying the send queue. Something else is triggering the requester tasklet to re-run and retry the send queue much too early so not enough time is allowed. This can be fixed by adding a flag to qp->req indicating that the requester should wait for the rnr_nak_timer to fire before running again. Most of the time it still works with the reduced timeout but occasionally it fails. This will cause intermittent rnr_nak failures.

Bob