net/mlx5e: TX, Generalise code and usage of error CQE dump
authorTariq Toukan <tariqt@mellanox.com>
Sun, 9 Feb 2020 15:06:49 +0000 (17:06 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 30 Apr 2020 17:10:44 +0000 (10:10 -0700)
commitf1b95753eeedc00f1223e8033d96dae9f996ca6d
tree9d9dd89978f9a1149cd0114df95eab51e3a44870
parente658664c77c11c5ba77dfb231138505ecac71c80
net/mlx5e: TX, Generalise code and usage of error CQE dump

Error CQE was dumped only for TXQ SQs.
Generalise the function, and add usage for error completions
on ICO SQs and XDP SQs.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c