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

From: James Kosin
Date: Wed Jan 13 2010 - 12:23:29 EST


Ok,

This is an optimization to:

Allow the transmitter to free the skb before the receiver allocates
many skbs from the system. This should help with skb reuse and in
multi-core ARM systems allow the next transmitter to be started while we
service the receiver DMA blocks.

This first patch is only a move of the service of the transmitter
interrupt to be first in the ISR. This is not expensive; because the
transmitter queue to the MAC is only (1) one deep, and the receiver is
currently (9) nine deep.

James Kosin

Attachment: ether_patch_1.patch
Description: ether_patch_1.patch