diff options
| author | Aya Levin <ayal@mellanox.com> | 2020-03-12 12:35:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-01 11:01:49 +0200 |
| commit | bd81b9ba546ad56961d3d1ffd42d28d60971f24c (patch) | |
| tree | b477446fb8e116804ac7dbee711871853a3f1756 /kernel | |
| parent | d8338b5f373a0c8888c1cead4ea2a04893ceb999 (diff) | |
net/mlx5e: Fix missing reset of SW metadata in Striding RQ reset
[ Upstream commit 39369fd536d485a99a59d8e357c0d4d3ce19a3b8 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
