diff options
author | 2019-03-06 19:20:50 +0200 | |
---|---|---|
committer | 2019-03-17 21:40:39 -0300 | |
commit | f84b66b9cce78e8f9d38204fdaa75f07c75f4911 (patch) | |
tree | 92a4979c8d06ea3de21e710442619a72019cdf94 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | IB/mlx4: Fix race condition between catas error reset and aliasguid flows (diff) | |
download | wireguard-linux-f84b66b9cce78e8f9d38204fdaa75f07c75f4911.tar.xz wireguard-linux-f84b66b9cce78e8f9d38204fdaa75f07c75f4911.zip |
net/mlx5: Fix DCT creation bad flow
In case the DCT creation command has succeeded a DRAIN must be issued
before calling DESTROY.
In addition, the original code used the wrong parameter for the DESTROY
command, 'in' instead of 'din', which caused another creation try instead
of destroying.
Cc: <stable@vger.kernel.org> # 4.15
Fixes: 57cda166bbe0 ("net/mlx5: Add DCT command interface")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions