diff options
author | Vijay Immanuel <vijayi@attalasystems.com> | 2018-06-13 18:47:30 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-08-30 17:27:15 -0400 |
commit | 4e4c53df567714b3d08b2b5d8ccb1d175fc9be01 (patch) | |
tree | ad4b09bf65f4ade99e70894ac93eb20a280aa926 /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | b97db58557f4aa6d9903f8e1deea6b3d1ed0ba43 (diff) | |
download | linux-4e4c53df567714b3d08b2b5d8ccb1d175fc9be01.tar.bz2 |
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>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index 979e987e3c46..82e670d6eeea 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -158,6 +158,7 @@ struct rxe_comp_info { int opcode; int timeout; int timeout_retry; + int started_retry; u32 retry_cnt; u32 rnr_retry; struct rxe_task task; |