mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command
[ Upstream commit65288a22dd] 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> Stable-dep-of:29900bf351("RDMA/bnxt_re: Fix hang during driver unload") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4e5c10167e
commit
e0777f9c32
2 changed files with 61 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue