ucc_geth: Move freeing of TX packets to NAPI context
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Fri, 17 Apr 2009 12:03:48 +0000 (12:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2009 09:07:17 +0000 (02:07 -0700)
commit0cededf3ffbb775c3716aa1d246338fdc24b1259
treeb8606da4301258e2919a0d5322988cde856661fc
parentd035fbccc4edd2bd69d9314faf03ba832b85a1d7
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>
drivers/net/ucc_geth.c
drivers/net/ucc_geth.h