]> git.baikalelectronics.ru Git - kernel.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)
commit8d4d4dd4172d8b963f7356b7283d90a1b2f166e8
tree33f40b48f8c34abfbb69c046ff7dc0d8ae9a65a4
parent1d59336ddf3185e2a399f43e3036d6c032c0e8fd
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: f9154a205e65 ("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