summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMintz, Yuval2017-05-29 10:24:49 +0200
committerDavid S. Miller2017-05-30 18:38:00 +0200
commit512c7840cd692fdac0333684249753ebf3c819f9 (patch)
tree562c0dbaf284fd69d6462270d3b17b9aeb1626f8 /drivers/net
parentDocumentation: networking: add DPAA Ethernet document (diff)
downloadkernel-qcow2-linux-512c7840cd692fdac0333684249753ebf3c819f9.tar.gz
kernel-qcow2-linux-512c7840cd692fdac0333684249753ebf3c819f9.tar.xz
kernel-qcow2-linux-512c7840cd692fdac0333684249753ebf3c819f9.zip
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: 6c75424612a7 ("qed: Add support for NCSI statistics") Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_main.c b/drivers/net/ethernet/qlogic/qed/qed_main.c
index 537d1236a4fe..715b3aaf83ac 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_main.c
+++ b/drivers/net/ethernet/qlogic/qed/qed_main.c
@@ -1730,7 +1730,8 @@ void qed_get_protocol_stats(struct qed_dev *cdev,
qed_get_protocol_stats_iscsi(cdev, &stats->iscsi_stats);
break;
default:
- DP_ERR(cdev, "Invalid protocol type = %d\n", type);
+ DP_VERBOSE(cdev, QED_MSG_SP,
+ "Invalid protocol type = %d\n", type);
return;
}
}