]> 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)
commit043e72e0f32829bbd523c9d4a070396f27fce587
tree33f40b48f8c34abfbb69c046ff7dc0d8ae9a65a4
parent089a83d1a4261642888ea0713c54e3eb5a2a80b1
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: d67460ad091c ("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