]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ps3_gelic: lower NAPI weight
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 23 Aug 2013 13:41:19 +0000 (15:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Aug 2013 18:59:27 +0000 (14:59 -0400)
commitae24f261e11ec30d343c7c5ee805ff29782f726b
tree283ecc6e7e04f49144de3c15aa87165b2ca6c525
parent1e4a5282b4791fb9ba68478ecddae9642f9cfefb
ps3_gelic: lower NAPI weight

Since commit 82dc3c63 ("net: introduce NAPI_POLL_WEIGHT")
netif_napi_add() produces an error message if a NAPI poll weight
greater than 64 is requested.

GELIC_NET_NAPI_WEIGHT is defined to GELIC_NET_RX_DESCRIPTORS,
which is 128.

Use the standard NAPI weight.

v2: proper reference to the related commit

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/ps3_gelic_net.c
drivers/net/ethernet/toshiba/ps3_gelic_net.h