提交 512c7840 编写于 作者: M Mintz, Yuval 提交者: David S. Miller

qed: Don't log missing periodic stats by default

Current implementation lacks the logic for providing management
firmware with RDMA-related statistics; [much] worse than that -
it logs such events by default to system logs.

Since the statistics' gathering is done periodically, using sufficiently
new management firmware the system logs would get filled with these
unnecessary prints.

For now, reduce the verbosity of the log so that it would not be
logged by default.

Fixes: 6c754246 ("qed: Add support for NCSI statistics")
Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5ee6842c
...@@ -1730,7 +1730,8 @@ void qed_get_protocol_stats(struct qed_dev *cdev, ...@@ -1730,7 +1730,8 @@ void qed_get_protocol_stats(struct qed_dev *cdev,
qed_get_protocol_stats_iscsi(cdev, &stats->iscsi_stats); qed_get_protocol_stats_iscsi(cdev, &stats->iscsi_stats);
break; break;
default: default:
DP_ERR(cdev, "Invalid protocol type = %d\n", type); DP_VERBOSE(cdev, QED_MSG_SP,
"Invalid protocol type = %d\n", type);
return; return;
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册