]> 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)
commit9770974c7215b20420d57cb062376c8db355d0a0
tree562c0dbaf284fd69d6462270d3b17b9aeb1626f8
parent84dee0bb81a625d6c92a2d3bb271e294ecca4a74
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: 9dbc61cc1c21 ("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