]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Always print health reporter message to dmesg
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 4 Dec 2019 12:34:18 +0000 (14:34 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 6 Jan 2020 23:30:04 +0000 (15:30 -0800)
commit6505ce9266bb8032f4a2027f428aaefc1efafc32
tree2f88f3479c8c5c97b02ff6603fd2d50e008cb169
parent1de3550ad95336c1e514287e2b745e2f8cede680
net/mlx5e: Always print health reporter message to dmesg

In case a reporter exists, error message is logged only to the devlink
tracer. The devlink tracer is a visibility utility only, which user can
choose not to monitor.
After cited patch, 3rd party monitoring tools that tracks these error
message will no longer find them in dmesg, causing a regression.

With this patch, error messages are also logged into the dmesg.

Fixes: 9843142574e2 ("net/mlx5e: Generalize tx reporter's functionality")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/health.c