summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2020-03-09 09:44:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-01 11:01:49 +0200
commitd8338b5f373a0c8888c1cead4ea2a04893ceb999 (patch)
treeef3aaf7cc6311a3717b38090de74f9ddba698914 /kernel
parent63a0fc3b004713000b26de20be8eb5185b199cf0 (diff)
net/mlx5e: Enhance ICOSQ WQE info fields
[ Upstream commit 1de0306c3a05d305e45b1f1fabe2f4e94222eb6b ] Add number of WQEBBs (WQE's Basic Block) to WQE info struct. Set the number of WQEBBs on WQE post, and increment the consumer counter (cc) on completion. In case of error completions, the cc was mistakenly not incremented, keeping a gap between cc and pc (producer counter). This failed the recovery flow on the ICOSQ from a CQE error which timed-out waiting for the cc and pc to meet. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions