summaryrefslogtreecommitdiff
path: root/drivers/net/ucc_geth.h
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2009-04-17 16:03:48 +0400
committerDavid S. Miller <davem@davemloft.net>2009-04-21 13:07:17 +0400
commit0cededf3ffbb775c3716aa1d246338fdc24b1259 (patch)
treeb8606da4301258e2919a0d5322988cde856661fc /drivers/net/ucc_geth.h
parentd035fbccc4edd2bd69d9314faf03ba832b85a1d7 (diff)
downloadlinux-0cededf3ffbb775c3716aa1d246338fdc24b1259.tar.xz
ucc_geth: Move freeing of TX packets to NAPI context
This will make the system alot more responsive while ping flooding the ucc_geth ethernet interface. Also set NAPI weight to 64 as this is a common value. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ucc_geth.h')
-rw-r--r--drivers/net/ucc_geth.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h
index 2f8ee7c87efe..602764799df0 100644
--- a/drivers/net/ucc_geth.h
+++ b/drivers/net/ucc_geth.h
@@ -852,7 +852,6 @@ struct ucc_geth_hardware_statistics {
/* Driver definitions */
#define TX_BD_RING_LEN 0x10
#define RX_BD_RING_LEN 0x10
-#define UCC_GETH_DEV_WEIGHT TX_BD_RING_LEN
#define TX_RING_MOD_MASK(size) (size-1)
#define RX_RING_MOD_MASK(size) (size-1)