]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Don't log missing periodic stats by default
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 29 May 2017 08:24:49 +0000 (11:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 16:38:00 +0000 (12:38 -0400)
commit7bccd931ea11536626e429622ecf0a1331b37121
tree562c0dbaf284fd69d6462270d3b17b9aeb1626f8
parentb83f15909d75aaad2a11e7b8967f2d50ee7ebc32
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: 5787f5e8274b ("qed: Add support for NCSI statistics")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c