IB/rxe: avoid back-to-back retries

Error retries can occur due to timeouts, NAKs or receiving
packets beyond the current read request. Avoid back-to-back
retries due to packet processing, by only retrying the initial
attempt immediately. Subsequent retries must be due to timeouts.

Continue to process completion packets after scheduling a retry.

Signed-off-by: Vijay Immanuel <vijayi@attalasystems.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Vijay Immanuel 2018-06-13 18:47:30 -07:00 • committed by Doug Ledford
commit 4e4c53df56
2 changed files with 18 additions and 1 deletions