]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gianfar: Support NAPI for TX Frames
authorDai Haruki <dai.haruki@freescale.com>
Thu, 10 Apr 2008 00:37:51 +0000 (19:37 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 00:06:50 +0000 (20:06 -0400)
commitd080cd6301e107e79c6a0fc654319f8979f70549
tree263b443368033c49c8b4345288677ac58cb68533
parent0b50d753874ad4843d305bf841ba5e28fc0f0ce7
gianfar: Support NAPI for TX Frames

Poll the completed TX frames in gfar_poll().  This prevents the tx
completion interrupt from interfering with processing of received
frames.

We also disable hardware rx coalescing when NAPI is enabled.

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