aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2020-01-09 15:53:37 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2020-02-06 12:24:23 -0800
commitb57e66ad42d051ed31319c28ed1b62b191299a29 (patch)
tree766008b91d2806780a667d926c116a54d5744b19 /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5: IPsec, fix memory leak at mlx5_fpga_ipsec_delete_sa_ctx (diff)
downloadlinux-dev-b57e66ad42d051ed31319c28ed1b62b191299a29.tar.xz
linux-dev-b57e66ad42d051ed31319c28ed1b62b191299a29.zip
net/mlx5e: TX, Error completion is for last WQE in batch
For a cyclic work queue, when not requesting a completion per WQE, a single CQE might indicate the completion of several WQEs. However, in case some WQE in the batch causes an error, then an error completion is issued, breaking the batch, and pointing to the offending WQE in the wqe_counter field. Hence, WQE-specific error CQE handling (like printing, breaking, etc...) should be performed only for the last WQE in batch. Fixes: 130c7b46c93d ("net/mlx5e: TX, Dump WQs wqe descriptors on CQE with error events") Fixes: fd9b4be8002c ("net/mlx5e: RX, Support multiple outstanding UMR posts") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reviewed-by: Aya Levin <ayal@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions