net/mlx5e: RX, Handle CQE with error at the earliest stage
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 14 Jun 2019 22:21:15 +0000 (15:21 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Aug 2019 20:08:18 +0000 (13:08 -0700)
commit0a35ab3e138296cfe192628520e4d5f3ff23e730
tree0ac7732ccc6e3e33688529fedb99e55ac6ec3241
parent32c57fb26863b48982e33aa95f3b5b23f24b1feb
net/mlx5e: RX, Handle CQE with error at the earliest stage

Just to be aligned with the MPWQE handlers, handle RX WQE with error
for legacy RQs in the top RX handlers, just before calling skb_from_cqe().

CQE error handling will now be called at the same stage regardless of
the RQ type or netdev mode NIC, Representor, IPoIB, etc ..

This will be useful for down stream patch to improve error CQE
handling.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/health.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c