[RFC/PATCH 2.6.20-rc6 4/4] spidernet: remove txram full logging
Ishizaki Kou
kou.ishizaki at toshiba.co.jp
Fri Feb 2 21:33:11 EST 2007
This patches removes logging for SPIDER_NET_GTMFLLINT interrupts.
Since the interrupts are not irregular, and they happen frequently
when using 100Mbps network switches.
This patch is just for a test. Please try this if you can.
Signed-off-by: Kou Ishizaki <kou.ishizaki at toshiba.co.jp>
---
--- org-linux-powerpc-git/drivers/net/spider_net.c 2007-02-02 14:35:14.000000000 +0900
+++ linux-powerpc-git/drivers/net/spider_net.c 2007-02-02 14:35:49.000000000 +0900
@@ -1435,8 +1435,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