Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

IPoIB: lower NAPI weight

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

Use the standard NAPI weight.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

authored by

Michal Schmidt and committed by
Roland Dreier
7f1a3867 94232d9c

+1 -1
+1 -1
drivers/infiniband/ulp/ipoib/ipoib_main.c
··· 1350 1350 1351 1351 ipoib_set_ethtool_ops(dev); 1352 1352 1353 - netif_napi_add(dev, &priv->napi, ipoib_poll, 100); 1353 + netif_napi_add(dev, &priv->napi, ipoib_poll, NAPI_POLL_WEIGHT); 1354 1354 1355 1355 dev->watchdog_timeo = HZ; 1356 1356