]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5e: Fix error flow in tx reporter diagnose
authorAya Levin <ayal@mellanox.com>
Sun, 30 Jun 2019 08:11:26 +0000 (11:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2019 06:28:35 +0000 (08:28 +0200)
commit2a782edf08b450b0da551802e31ab47ba4e58179
tree9857da457d18a18283c5f1abcb7442b2141429dd
parentd5596ded2ec330e3e72f5c541fc2e9eb4437275a
net/mlx5e: Fix error flow in tx reporter diagnose

[ Upstream commit 99d31cbd8953c6929da978bf049ab0f0b4e503d9 ]

Fix tx reporter's diagnose callback. Propagate error when failing to
gather diagnostics information or failing to print diagnostic data per
queue.

Fixes: de8650a82071 ("net/mlx5e: Add tx reporter support")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c