diff options
author | Eric Dumazet <edumazet@google.com> | 2013-03-05 15:57:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-06 04:40:01 (GMT) |
commit | 82dc3c63c692b1e1d59378ecee948ac88e034aad (patch) | |
tree | d324df2801b34974e8735ac79f28ca43298bea53 /net/core/pktgen.c | |
parent | dd9f319d94c99b96fc9b34ccde7389a91059fe31 (diff) | |
download | linux-fsl-qoriq-82dc3c63c692b1e1d59378ecee948ac88e034aad.tar.xz |
net: introduce NAPI_POLL_WEIGHT
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>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions