]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Fix return value from timeout recover function
authorAya Levin <ayal@mellanox.com>
Mon, 17 Jun 2019 09:01:45 +0000 (12:01 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Jul 2019 18:45:03 +0000 (11:45 -0700)
commit39825350ae2a52f8513741b36e42118bd80dd689
tree1f6a6092041963eb914599e7a1139d4f64f95b2d
parentdb849faa9bef993a1379dc510623f750a72fa7ce
net/mlx5e: Fix return value from timeout recover function

Fix timeout recover function to return a meaningful return value.
When an interrupt was not sent by the FW, return IO error instead of
'true'.

Fixes: c7981bea48fb ("net/mlx5e: Fix return status of TX reporter timeout recover")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c