[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48239835.3090107@myri.com>
Date: Fri, 09 May 2008 02:17:57 +0200
From: Brice Goglin <brice@...i.com>
To: Jeff Garzik <jeff@...zik.org>
CC: netdev@...r.kernel.org
Subject: [PATCH 05/16] myri10ge: don't warn on rx page allocation failure
Don't warn when rx page allocations fail, the driver is written
to handle failures, and the huge amount of console output
generated by the warnings makes a bad situation worse.
Signed-off-by: Brice Goglin <brice@...i.com>
Signed-off-by: Andrew Gallatin <gallatin@...i.com>
---
drivers/net/myri10ge/myri10ge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-2.6.orig/drivers/net/myri10ge/myri10ge.c 2008-05-09 00:03:32.000000000 +0200
+++ linux-2.6/drivers/net/myri10ge/myri10ge.c 2008-05-09 00:04:07.000000000 +0200
@@ -956,7 +956,7 @@
} else {
/* we need a new page */
page =
- alloc_pages(GFP_ATOMIC | __GFP_COMP,
+ alloc_pages(GFP_ATOMIC | __GFP_COMP | __GFP_NOWARN,
MYRI10GE_ALLOC_ORDER);
if (unlikely(page == NULL)) {
if (rx->fill_cnt - rx->cnt < 16)
--
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