net: introduce NAPI_POLL_WEIGHT
authorEric Dumazet <edumazet@google.com>
Tue, 5 Mar 2013 15:57:22 +0000 (15:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 04:40:01 +0000 (23:40 -0500)
Some drivers use a too big NAPI poll weight.

This patch adds a NAPI_POLL_WEIGHT default value
and issues an error message if a driver attempts
to use a bigger weight.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found