]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/infiniband/hw/mlx5/qp.c
RDMA/mlx5: Clear old rate limit when closing QP
authorRafi Wiener <rafiw@mellanox.com>
Wed, 2 Oct 2019 12:02:43 +0000 (15:02 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Oct 2019 20:07:25 +0000 (16:07 -0400)
commitc8973df2da677f375f8b12b6eefca2f44c8884d5
treee19deb14792224aed8eb6c673cd227cb34018233
parent0417791536ae1e28d7f0418f1d20048ec4d3c6cf
RDMA/mlx5: Clear old rate limit when closing QP

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: 7d29f349a4b9 ("IB/mlx5: Properly adjust rate limit on QP state transitions")
Signed-off-by: Rafi Wiener <rafiw@mellanox.com>
Signed-off-by: Oleg Kuporosov <olegk@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20191002120243.16971-1-leon@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c