summaryrefslogtreecommitdiff
path: root/crypto/fips.c
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2020-03-16 17:53:10 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-03-25 00:43:05 +0300
commite239c6d686e1c37fb2ab143162dfb57471a8643f (patch)
treec271174555ff77593e9e3a82a06c48e7f5899b55 /crypto/fips.c
parent39369fd536d485a99a59d8e357c0d4d3ce19a3b8 (diff)
downloadlinux-e239c6d686e1c37fb2ab143162dfb57471a8643f.tar.xz
net/mlx5e: Fix ICOSQ recovery flow with Striding RQ
In striding RQ mode, the buffers of an RX WQE are first prepared and posted to the HW using a UMR WQEs via the ICOSQ. We maintain the state of these in-progress WQEs in the RQ SW struct. In the flow of ICOSQ recovery, the corresponding RQ is not in error state, hence: - The buffers of the in-progress WQEs must be released and the RQ metadata should reflect it. - Existing RX WQEs in the RQ should not be affected. For this, wrap the dealloc of the in-progress WQEs in a function, and use it in the ICOSQ recovery flow instead of mlx5e_free_rx_descs(). Fixes: be5323c8379f ("net/mlx5e: Report and recover from CQE error on ICOSQ") 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 'crypto/fips.c')
0 files changed, 0 insertions, 0 deletions