]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix return status of TX reporter timeout recover
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 20 Feb 2019 10:10:48 +0000 (12:10 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 Feb 2019 21:38:24 +0000 (13:38 -0800)
commit0ac26ca7b933876cc202486dd050a0b1bc3345d2
treefe13ddc81934e020dcf7b36d6be1f837e08222c2
parent3a84506741dabd8a172f7b7b43d8e7cfc6ea59a2
net/mlx5e: Fix return status of TX reporter timeout recover

In case of lost interrupt recover, we shall return success. Fix that.

Fixes: a99cd07f95e2 ("net/mlx5e: Add tx timeout support for mlx5e tx reporter")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reported-by: Maria Pasechnik <mariap@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c