summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-10-11 16:19:23 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-25 22:51:19 +0200
commitb87ef75cb5c98a16a7b8e01765277890a6a175cd (patch)
tree49ea81ae8e33930f8b83a108e6a71c7bece04654 /include
parentnet/mlx5: Extend health buffer dump (diff)
downloadlinux-b87ef75cb5c98a16a7b8e01765277890a6a175cd.tar.xz
linux-b87ef75cb5c98a16a7b8e01765277890a6a175cd.zip
net/mlx5: Print health buffer by log level
Add log macro which gets log level as a parameter. Use the severity read from the health buffer and the new log macro to log the health buffer with severity as log level. Prior to this patch, health buffer was printed in error log level regardless of its severity. Now the user may filter dmesg (--level) or change kernel log level to focus on different severity levels of firmware errors. Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions