| To: | Stephen Hemminger <shemminger@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 4/5] r8169: ethtool message level control |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Wed, 09 Mar 2005 14:50:10 -0500 |
| Cc: | Francois Romieu <romieu@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050309113402.05d25e49@xxxxxxxxxxxxxxxxx> |
| References: | <20050309113402.05d25e49@xxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 |
Stephen Hemminger wrote: Add ethtool message level control support. This is the standard way to enable/disable console log messages. Also, ratelimit the too much work at interrupt message, so if under massive packet load the console doesn't get flooded. Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx> diff -Nru a/drivers/net/r8169.c b/drivers/net/r8169.c --- a/drivers/net/r8169.c 2005-03-09 11:25:04 -08:00 +++ b/drivers/net/r8169.c 2005-03-09 11:25:04 -08:00 @@ -188,6 +188,9 @@ MODULE_DEVICE_TABLE(pci, rtl8169_pci_tbl);static int rx_copybreak = 200;+static int debug = 3;+static const u32 default_msg = NETIF_MSG_DRV | NETIF_MSG_PROBE | + NETIF_MSG_LINK | NETIF_MSG_IFUP| NETIF_MSG_IFDOWN; whitespace breakage? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 8/11] [NET] Convert sk_queue_shrunk into SOCK_QUEUE_SHRUNK flag, Thomas Graf |
|---|---|
| Next by Date: | [PATCH 9/11] [NET] Reorder struct sock, Thomas Graf |
| Previous by Thread: | [PATCH 4/5] r8169: ethtool message level control, Stephen Hemminger |
| Next by Thread: | Re: [PATCH 4/5] r8169: ethtool message level control, Richard Dawe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |