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>
Este cometimento está contido em:

cometido por
David S. Miller

ascendente
d035fbccc4
cometimento
0cededf3ff
@@ -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)
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador