Commit fc8e13da authored by Ishizaki Kou's avatar Ishizaki Kou Committed by Jeff Garzik

spidernet: remove txram full logging

This patches 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: default avatarKou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: default avatarLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 3342cf0e
...@@ -1422,8 +1422,8 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg) ...@@ -1422,8 +1422,8 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg)
switch (i) switch (i)
{ {
case SPIDER_NET_GTMFLLINT: case SPIDER_NET_GTMFLLINT:
if (netif_msg_intr(card) && net_ratelimit()) /* TX RAM full may happen on a usual case.
pr_err("Spider TX RAM full\n"); * Logging is not needed. */
show_error = 0; show_error = 0;
break; break;
case SPIDER_NET_GRFDFLLINT: /* fallthrough */ case SPIDER_NET_GRFDFLLINT: /* fallthrough */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment