Paul Durrant writes:
 > On 06/09/07, Andrew Gallatin <[EMAIL PROTECTED]> wrote:
 > >
 > > I'm porting a GLDv2 driver to v3, and I'm a bit confused
 > > about the mac_blank_t function (and the resources stuff
 > > in general):
 > >
 > > typedef void            (*mac_blank_t)(void *, time_t, uint_t);
 > >
 > 
 > This function was designed heavily around the bge driver. The BCM h/w
 > can coalesce based on a time and/or packet count. It's called directly
 > by the IP stack to quiesce h/w when an squeue has backed up; which is
 > pretty rare in practice if you're running a decent CPU.

I imagine it would happen often with 10GbE traffic on a coolthreads
CPU.

I'm still curious, even if only for academic reasons.  What unit of
time is the time_t in?  How would one convert it to microseconds?
I guess it is really academic at this point, since there are no
callers (and if there were, I could look at the caller to figure
this out..).

Thanks,

Drew
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to