]> 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)
commitd9c925287b2b0c131140df21ae260ec7c7d8fb53
tree6aac0ac89a9f30d541375e75e1d0ac4e6f451c9d
parent1c7304205a6d9ca8b945e890c4e359032d60fded
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