netdev
[Top] [All Lists]

Re: [PATCH 4/5] r8169: ethtool message level control

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH 4/5] r8169: ethtool message level control
From: Richard Dawe <rich@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Mar 2005 12:30:44 +0000
Cc: Francois Romieu <romieu@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050309113402.05d25e49@dxpl.pdx.osdl.net>
References: <20050309113402.05d25e49@dxpl.pdx.osdl.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020
Hello.


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.
[snip]

Works fine for me on my Athlon64 laptop with a 8169 with built-in PHY.

Testing:

* Remove Ethernet cable, insert module (no params), then "/etc/init.d/network start". Check I get the "PHY reset until link up" message.

* "ethtool -s eth0 msglvl 0". Restart networking. Check I get no PHY reset message.

* Remove module. Reinsert module with "debug=16" param. Restart networking. Check I get PHY reset message plus chip info in dmesg.

* Insert cable, restart networking.

Bye, Rich =]

--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
  -- McCoy, "I, Mudd", Star Trek

<Prev in Thread] Current Thread [Next in Thread>