]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add recovery flow in case of error CQE
authorGal Pressman <gal@nvidia.com>
Wed, 22 Dec 2021 12:03:39 +0000 (14:03 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:55 +0000 (16:22 -0800)
commitae048fa194505a514463b4ef211686d500944a09
treef9f0597d8c102e6542171b53a3984210a4ae3c62
parent9e0e14d5481c2d24fdfd387b2ffd5817483c825d
net/mlx5e: Add recovery flow in case of error CQE

The rep legacy RQ completion handling was missing the appropriate
handling of error CQEs (dump the CQE and queue a recover work), fix it
by calling trigger_report() when needed.

Since all CQE handling flows do the exact same error CQE handling,
extract it to a common helper function.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c