[PATCH 4/4] spidernet: remove txram full logging

Ishizaki Kou kou.ishizaki at toshiba.co.jp
Wed Feb 14 19:11:31 EST 2007


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 at toshiba.co.jp>
Acked-by: Linas Vepstas <linas at austin.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh at kernel.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 */



More information about the Linuxppc-dev mailing list