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:

committed by
Doug Ledford

parent
b97db58557
commit
4e4c53df56
@@ -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;
|
||||
|
Reference in New Issue
Block a user