diff options
author | Kashyap Desai <kashyap.desai@broadcom.com> | 2023-06-09 04:01:44 -0700 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-06-12 10:10:17 +0300 |
commit | 65288a22ddd81422a2a2a10c15df976a5332e41b (patch) | |
tree | d87eb2cfb97b008b2b6d19d0a676bd62205cb9f4 /drivers/gpio/gpio-twl6040.c | |
parent | 3022cc15119733cebaef05feddb5d87b9e401c0e (diff) |
RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command
Whenever there is a fast path IO and create/destroy resources from
the slow path is happening in parallel, we may notice high latency
of slow path command completion.
Introduces a shadow queue depth to prevent the outstanding requests
to the FW. Driver will not allow more than #RCFW_CMD_NON_BLOCKING_SHADOW_QD
non-blocking commands to the Firmware.
Shadow queue depth is a soft limit only for non-blocking
commands. Blocking commands will be posted to the firmware
as long as there is a free slot.
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1686308514-11996-8-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-twl6040.c')
0 files changed, 0 insertions, 0 deletions