Net stack debug patch

Gary Thomas gary@mlbassoc.com
Fri Mar 14 23:14:00 GMT 2003


On Fri, 2003-03-14 at 12:35, Nick Garnett wrote:
> 
> This patch adds some code to record and display information about all
> the mbufs in the FreeBSD stack.
> 
> Currently it is controlled by the CYGDBG_NET_SHOW_MBUFS option.
> Whenever the stack runs out of mbufs in eth_drv_recv() it prints out a
> list of mbufs showing what they are all doing.
> 
> I wrote this code to debug a problem I was having and thought it might
> be generally useful.
> 
> Opinions? Should it go in?
> 

You know me - I'm always interested in more [debug] information :-)
By all means, apply this, and the QUICC changes as well.

Thanks.

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------



More information about the Ecos-patches mailing list