diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2021-09-15 05:32:35 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-09-20 13:37:01 -0300 |
commit | b9b43ad3ce883f6d9f0fc3c24e2a0d2d94d7eb49 (patch) | |
tree | 8d8b007326cdc1014030f4758f34ee4de62ecbb3 /drivers/infiniband/hw/bnxt_re/ib_verbs.c | |
parent | 403bc4359a0098712b917bc4ae18349d5ae11ca3 (diff) |
RDMA/bnxt_re: Reduce the delay in polling for hwrm command completion
Driver has 1ms delay between the polling for atomic command completion.
Polling immediately after issuing command usually doesn't report any
completions. So all commands in the blocking path needs two iterations. So
effectively 1ms spend on each command. HW requires much lesser time for
each command. So reduce the delay to 1us and increase the iteration count
to wait for the same time.
Link: https://lore.kernel.org/r/1631709163-2287-5-git-send-email-selvin.xavier@broadcom.com
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/ib_verbs.c')
0 files changed, 0 insertions, 0 deletions