[Bridge] Getting statistics from a bridge

Stephen Hemminger shemminger at linux-foundation.org
Mon Apr 28 11:10:24 PDT 2008


On Thu, 24 Apr 2008 15:41:29 +0200
Jaime Medrano <jaime.medrano at gmail.com> wrote:

> On Wed, Apr 23, 2008 at 10:43:40AM -0700, Stephen Hemminger wrote:
> > On Wed, 23 Apr 2008 10:53:12 +1000
> > "Leigh Sharpe" <lsharpe at pacificwireless.com.au> wrote:
> > 
> > >  Is there any way of getting detailed statistics from a bridge?
> > > Specifically, I need to know how many frames may have been dropped
> > > because they exceed the MTU of the underlying port. I'm having a few
> > > issues with MTUs not agreeing.
> > 
> > It would not be hard to modify kernel to use one of the existing statistics on
> > the bridge interface to keep track of the dropped packets. I'll look into it
> > if no one else gets to it first (hint, hint)
> > 
> 
> I think this change will do it.
> 
> Regards,
> Jaime Medrano.

There is still the possiblity of RCU race during removal. I'll fix it up.
I am adding better statistics as part of other patch.


More information about the Bridge mailing list