OSDN Git Service

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)
commitc7981bea48fbbbf17215038c3d7c48706dafd6ff
treefe13ddc81934e020dcf7b36d6be1f837e08222c2
parent2c493ae03a24db7117c812c5fd0adc90c19cc833
net/mlx5e: Fix return status of TX reporter timeout recover

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

Fixes: 7d91126b1aea ("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