You need to sign in or sign up before continuing.
Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
stable inclusion from stable-v5.10.94 commit 4cb7aba1e0868585289c4ebf9151ec5c7e7606c8 bugzilla: https://gitee.com/openeuler/kernel/issues/I531X9 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4cb7aba1e0868585289c4ebf9151ec5c7e7606c8 -------------------------------- commit 4f6626b0 upstream. This reverts commit 410bd754. The reverted commit had added a retry mechanism to the command entry index allocation. The previous patch ensures that there is a free command entry index once the command work handler holds the command semaphore. Thus the retry mechanism is not needed. Fixes: 410bd754 ("net/mlx5: Add retry mechanism to the command entry index allocation") Signed-off-by: NMoshe Shemesh <moshe@nvidia.com> Reviewed-by: NEran Ben Elisha <eranbe@nvidia.com> Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录