summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-10-11 17:19:23 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-25 13:51:19 -0700
commitb87ef75cb5c98a16a7b8e01765277890a6a175cd (patch)
tree49ea81ae8e33930f8b83a108e6a71c7bece04654 /include/linux/mlx5
parentcb464ba53c0cb497dcb4a3daaf4fad4b75291863 (diff)
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/linux/mlx5')
0 files changed, 0 insertions, 0 deletions