net/mlx5e: Enhance TX timeout recovery
authorAya Levin <ayal@mellanox.com>
Mon, 18 May 2020 09:31:38 +0000 (12:31 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 3 Jul 2020 04:05:19 +0000 (21:05 -0700)
commite62055642797a6de80f3576c18e212cbbf5b4361
tree6aac0ac89a9f30d541375e75e1d0ac4e6f451c9d
parentb84921129bc85bea22551e98def8e70e2a44c043
net/mlx5e: Enhance TX timeout recovery

Upon a TX timeout handle, if the TX reporter was not able to recover
from the error, reopen the channels. If tried to reopen channels, do not
loop over TX queues for timeout.

With that, the reporters state and separation will better
expose the driver's state.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c