]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Enable QP retransmission
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Thu, 24 Sep 2020 17:58:50 +0000 (20:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:36 +0000 (12:26 +0200)
commitaaf9fdb377dad61fd02d950a275a480a05f0d4a9
tree7c68e25e9253ac6e1e967d02bb3243294781b55c
parent5ff7e39da2ccb31f8475071e27990c89421ada43
net/mlx5: DR, Enable QP retransmission

[ Upstream commit ec449ed8230cd30769de3cb70ee0fce293047372 ]

Under high stress, SW steering might get stuck on polling for completion
that never comes.
For such cases QP needs to have protocol retransmission mechanism enabled.
Currently the retransmission timeout is defined as 0 (unlimited). Fix this
by defining a real timeout.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c