Skip to content
Commit 89aa9e26 authored by Rafi Wiener's avatar Rafi Wiener Committed by Greg Kroah-Hartman
Browse files

RDMA/mlx5: Clear old rate limit when closing QP



[ Upstream commit c8973df2 ]

Before QP is closed it changes to ERROR state, when this happens
the QP was left with old rate limit that was already removed from
the table.

Fixes: 7d29f349 ("IB/mlx5: Properly adjust rate limit on QP state transitions")
Signed-off-by: default avatarRafi Wiener <rafiw@mellanox.com>
Signed-off-by: default avatarOleg Kuporosov <olegk@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20191002120243.16971-1-leon@kernel.org


Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d6706b2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment