summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2020-03-12 12:35:32 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2020-03-24 14:43:02 -0700
commit39369fd536d485a99a59d8e357c0d4d3ce19a3b8 (patch)
tree9a6127aec48cb91d11f1b5539472337a9dc7399f /drivers/net/ethernet/mellanox/mlx5/core/en.h
parent1de0306c3a05d305e45b1f1fabe2f4e94222eb6b (diff)
net/mlx5e: Fix missing reset of SW metadata in Striding RQ reset
When resetting the RQ (moving RQ state from RST to RDY), the driver resets the WQ's SW metadata. In striding RQ mode, we maintain a field that reflects the actual expected WQ head (including in progress WQEs posted to the ICOSQ). It was mistakenly not reset together with the WQ. Fix this here. Fixes: 8276ea1353a4 ("net/mlx5e: Report and recover from CQE with error on RQ") Signed-off-by: Aya Levin <ayal@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
0 files changed, 0 insertions, 0 deletions