Re: arm: Optimization for ethernet MAC handling at91_ether.c

From: Eric Dumazet
Date: Tue Jan 12 2010 - 11:36:17 EST


CC to netdev

Le 12/01/2010 16:39, James Kosin a écrit :
> Everyone,
>
> Since, a AT91_EMAC_TUND only happens when the transmitter is unable to
> transfer the frame in time for a frame to be sent. It makes sense to
> RETRY the packet in this condition in the ISR.
> Or would this overcomplicate a simple task?
> ... see below ...
>
...

>
> ...
> I do know there needs to be a bit more code then to handle the
> successful case below this; but, this is enough to understand what I am
> talking about. The UNDERRUN error should happen infrequently and in
> ideal circumstances not happen at all.
>


If this happens once in a while, why do you want driver to retry the transmit ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/