Re: [PATCH] TX algorithms, missetting IFF_OACTIVE and if_timer

2004-04-02 Thread Ruslan Ermilov
On Fri, Apr 02, 2004 at 09:03:02AM -0800, Bill Paul wrote: [...] > > To differentiate the case of an empty > > ring from the full ring, some drivers (ste(4), dc(4), and > > nge(4)) have the threshold (6 for dc(4), 3 for ste(4), and > > 2 for nge(4)) to assert the gap between producer and consumer,

Re: [PATCH] TX algorithms, missetting IFF_OACTIVE and if_timer

2004-04-02 Thread Bill Paul
> Gang, > > I've been wading through several network drivers recently, > learning Bill Paul's code. Specifically, I examined the > following drivers: ste(4), rl(4), dc(4), nge(4), and vr(4). > > They all use the consumer/producer approach for handling TX. > if_start() works with the producer, an

[PATCH] TX algorithms, missetting IFF_OACTIVE and if_timer

2004-04-02 Thread Ruslan Ermilov
Gang, I've been wading through several network drivers recently, learning Bill Paul's code. Specifically, I examined the following drivers: ste(4), rl(4), dc(4), nge(4), and vr(4). They all use the consumer/producer approach for handling TX. if_start() works with the producer, and txeof() works