> I especially do not understand what is disable_irq_nosync(dev->irq) for?

So that we can avoid locking interrupts off during processing on SMP machines.
We cannot disable_irq without a nosync because we would get deadlocks.

> Another question is what happens when Rx interrupt is generated during the
> time Tx disables interrupts. Rx interrupt status is not cleared then and
> interrupts might be not generated (edge)?

The PIC will hold the interrupt until one occurs. Even if this didnt work the
next TX timeout would recover 

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to