[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200702140811.l1E8BWBY017406@toshiba.co.jp>
Date: Wed, 14 Feb 2007 17:11:31 +0900 (JST)
From: Ishizaki Kou <kou.ishizaki@...hiba.co.jp>
To: jgarzik@...ox.com
Cc: netdev@...r.kernel.org, jim@...ewis.com, linuxppc-dev@...abs.org,
linas@...tin.ibm.com, jens@...ibm.com
Subject: [PATCH 4/4] spidernet: remove txram full logging
This removes logging for SPIDER_NET_GTMFLLINT interrupts.
Since the interrupts are not irregular, and they happen frequently
when using 100Mbps network switches.
Signed-off-by: Kou Ishizaki <kou.ishizaki@...hiba.co.jp>
Acked-by: Linas Vepstas <linas@...tin.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
---
--- org-linux-powerpc-git/drivers/net/spider_net.c 2007-02-14 13:35:20.000000000 +0900
+++ linux-powerpc-git/drivers/net/spider_net.c 2007-02-14 13:36:01.000000000 +0900
@@ -1444,8 +1444,8 @@
switch (i)
{
case SPIDER_NET_GTMFLLINT:
- if (netif_msg_intr(card) && net_ratelimit())
- pr_err("Spider TX RAM full\n");
+ /* TX RAM full may happen on a usual case.
+ * Logging is not needed. */
show_error = 0;
break;
case SPIDER_NET_GRFDFLLINT: /* fallthrough */
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists