]> 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)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Jul 2019 18:45:04 +0000 (11:45 -0700)
commit99d31cbd8953c6929da978bf049ab0f0b4e503d9
tree33f40b48f8c34abfbb69c046ff7dc0d8ae9a65a4
parent39825350ae2a52f8513741b36e42118bd80dd689
net/mlx5e: Fix error flow in tx reporter diagnose

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>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c