sky2: optimize transmit completion
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 18 Aug 2009 15:17:09 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Aug 2009 03:26:51 +0000 (20:26 -0700)
commit6b84dacadbdc3dab6a5b313d20d5a93b0d998641
tree20bd2d8b320f5a33da98b217fe0506757563cb66
parentee5f68fea27b53b16c265b1f9ed8aa3bc9024c96
sky2: optimize transmit completion

Don't reference the list element in hardware transmit ring on transmit
completion. The list element is updated by hardware, therefore
it causes a cache miss. Do book keeping in software structure.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c
drivers/net/sky2.h