]> 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)
commitc898c51b195093085f8b9eff039986803e0c8bae
tree2f88f3479c8c5c97b02ff6603fd2d50e008cb169
parentd9b11515952746cb9b58e9c9043a2d2fb2551ee7
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: aad4da2c6b43 ("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