Revision 449cfcc1cd28a1c16321c47b1e7e77138411a72a authored by Michal Schmidt on 23 August 2013, 13:40:53 UTC, committed by David S. Miller on 27 August 2013, 18:59:27 UTC
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.

jme requests a quarter of the rx ring size as the NAPI weight.
jme's rx ring size is 1 << 9 = 512.

Use the standard NAPI weight.

v2: proper reference to the related commit

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c2b1df2
History
File Mode Size
Kconfig -rw-r--r-- 2.6 KB
Makefile -rw-r--r-- 1.1 KB
Platform -rw-r--r-- 187 bytes
clock.c -rw-r--r-- 12.7 KB
common.c -rw-r--r-- 2.8 KB
common.h -rw-r--r-- 896 bytes
dev-common.c -rw-r--r-- 2.8 KB
dev-common.h -rw-r--r-- 521 bytes
dev-gpio-buttons.c -rw-r--r-- 1.3 KB
dev-gpio-buttons.h -rw-r--r-- 686 bytes
dev-leds-gpio.c -rw-r--r-- 1.1 KB
dev-leds-gpio.h -rw-r--r-- 601 bytes
dev-spi.c -rw-r--r-- 1.1 KB
dev-spi.h -rw-r--r-- 650 bytes
dev-usb.c -rw-r--r-- 6.0 KB
dev-usb.h -rw-r--r-- 493 bytes
dev-wmac.c -rw-r--r-- 3.9 KB
dev-wmac.h -rw-r--r-- 503 bytes
early_printk.c -rw-r--r-- 2.3 KB
gpio.c -rw-r--r-- 5.7 KB
irq.c -rw-r--r-- 8.6 KB
mach-ap121.c -rw-r--r-- 2.1 KB
mach-ap136.c -rw-r--r-- 4.0 KB
mach-ap81.c -rw-r--r-- 2.3 KB
mach-db120.c -rw-r--r-- 3.4 KB
mach-pb44.c -rw-r--r-- 2.9 KB
mach-ubnt-xm.c -rw-r--r-- 2.8 KB
machtypes.h -rw-r--r-- 891 bytes
pci.c -rw-r--r-- 6.3 KB
pci.h -rw-r--r-- 997 bytes
prom.c -rw-r--r-- 1.2 KB
setup.c -rw-r--r-- 5.1 KB

back to top