]> err.no Git - linux-2.6/commit
gianfar: Fix Rx/Tx HW interrupt coalescing counter reset procedure.
authorAndy Fleming <afleming@freescale.com>
Mon, 24 Mar 2008 15:53:28 +0000 (10:53 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 04:44:47 +0000 (00:44 -0400)
commit2f4489112896770d66dc2960f71174d69ee23004
treed91605f48735267a9c827ad1b7c1cc1324c2992d
parent99da5003a5b085c12d996da1010e276e9b88672f
gianfar: Fix Rx/Tx HW interrupt coalescing counter reset procedure.

- Fix Rx/Tx HW interrupt coalescing counter reset logic. Disabling
is required before resetting the counter.

- Update the Default both Rx and Tx coalescing timer
threshold. Formerly 4 is set which is equal to 1.5 frame at the line
rate of 1GbE interface, and it doesn't match to the coalescing frame
count which is set to 16. Threashold 21 is matched to frame count 16.

Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/gianfar.c
drivers/net/gianfar.h