diff options
author | Tal Gilboa <talgi@mellanox.com> | 2018-11-22 14:20:45 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-13 01:24:44 -0800 |
commit | fa2bf86bab4bbc61e5678a42a14e40075093a98f (patch) | |
tree | ce6446cfd72d74652a861a8f7f169ec93ca0982b /net/tipc/net.h | |
parent | d13b224f431579fe2d712871d4265d7a22ca6c9c (diff) | |
download | linux-fa2bf86bab4bbc61e5678a42a14e40075093a98f.tar.bz2 |
net/mlx5e: Cancel DIM work on close SQ
TXQ SQ closure is followed by closing the corresponding CQ. A pending
DIM work would try to modify the now non-existing CQ.
This would trigger an error:
[85535.835926] mlx5_core 0000:af:00.0: mlx5_cmd_check:769:(pid 124399):
MODIFY_CQ(0x403) op_mod(0x0) failed, status bad resource state(0x9), syndrome (0x1d7771)
Fix by making sure to cancel any pending DIM work before destroying the SQ.
Fixes: cbce4f444798 ("net/mlx5e: Enable adaptive-TX moderation")
Signed-off-by: Tal Gilboa <talgi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/tipc/net.h')
0 files changed, 0 insertions, 0 deletions