[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080804093742.395d271e@extreme>
Date: Mon, 4 Aug 2008 09:37:42 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: David Miller <davem@...emloft.net>
Cc: greearb@...delatech.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [RFC] netdev: debugging option
On Sun, 20 Jul 2008 00:05:09 -0700 (PDT)
David Miller <davem@...emloft.net> wrote:
> From: Stephen Hemminger <shemminger@...tta.com>
> Date: Sat, 19 Jul 2008 23:04:24 -0700
>
> > This adds a debugging option for network devices. It could grow to add other
> > uses, but for now just add some messages about device reference counting.
> >
> > Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
>
> I think this is useful but it could use some minor
> mods before we put it in.
>
> For example, this thing will spam the logs in at least two
> common cases:
>
> 1) Lots of routing cache replacements
>
> 2) For older drivers using netif_rx() (and therefore, every
> current tunnel), every RX packet will trigger a log message
Fixed by later patch.
> So we really need to add some kind of run time enable and also a
> filter of some sort, even if it's just on device.
The sysctl in the patch is default off, so unless it is turned on,
the log is quiet
--
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