Re: [RTnet-developers] network statistic for rt_8139too.koo?
Brought to you by:
bet-frogger,
kiszka
|
From: Jan K. <jan...@we...> - 2008-06-24 06:49:23
|
Gilles Chanteperdrix wrote: > Jens Köhler wrote: >> Hello all, >> >> I am using the rt_8139too.koo network driver. Is there a possibility to get >> a statistic about received, sent packets and errors? > > Hi, > > In case it could be for interest to anyone, here is a patch which adds > supports for rtnet per-device statistics, and make them accessible > through rtifconfig. > > Note that to make these statistics work, you will have to write a > per-driver callback, but for most drivers the callback is already there, > you only have to uncomment it. > > Note that this patch was extracted from a bunch of other stuff, so, > there may be some things missing, if it happens and this patch is of > some interest to you, let me know. This is definitely an interesting patch, and I would welcome (ie. merge) this framework + potential driver patches. Jan |