Re: dev->tbusy

Alan Cox (alan@roadrunner.swansea.linux.org.uk)
Tue, 9 Feb 1999 15:47:44 +0000 (GMT)


> I'm writing a network device driver for a special hw and I'd like to
> know if tbusy flag in device structure is used by some upper layers of
> kernel's network code. Or is it for driver private use?
> If it is used by upper layers than what for?

To know not to sit trying to feed the card more frames. When you have
no space to accept frames you must set this either when the situation
occurs or (more normally) the first time you reject a frame because you
are busy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/