]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit026002792049c1e894a978b828647358a85777d5
tree6aac0ac89a9f30d541375e75e1d0ac4e6f451c9d
parent209ad6c876ff7f974061a2cda427e771e8736be8
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