[PATCH 2/2] net: at91_ether.c - Allow transmitter interrupt to be handled first in ISR

From: James Kosin
Date: Wed Jan 13 2010 - 12:44:27 EST


This next patch is optional....

The idea is TUND should only happen on occasions when the PHY is unable
to receive the transmitter data in a timely fashion to successfully send
the data in a single burst. This is not a hard error; so, why do we
treat it as such.

This patch allows the transmitter to resend the failed skb inside the
ISR without having to deal with the overhead of freeing the skb then
having the main task re-allocate a new skb for the failed packet.

James Kosin

Attachment: ether_patch_2.patch
Description: ether_patch_2.patch