mv643xx_eth: fix NAPI weight being > 64
authorAndrew Lunn <andrew@lunn.ch>
Mon, 13 May 2013 23:54:20 +0000 (23:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 May 2013 18:32:05 +0000 (11:32 -0700)
commita3659aa09a2ee7e0028349b9100d8b4a7750a4be
tree40fa8df73adc1e03a995e38179477376f1bf17d8
parent54d27fcb338bd9c42d1dfc5a39e18f6f9d373c2e
mv643xx_eth: fix NAPI weight being > 64

3.10-rc1 issues the following warning:

netif_napi_add() called with weight 128 on device eth%d

This patch reduce the weight to 64, using NAPI_POLL_WEIGHT.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c