Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f1a3867 authored by Michal Schmidt's avatar Michal Schmidt Committed by Roland Dreier
Browse files

IPoIB: 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.

Use the standard NAPI weight.

Signed-off-by: default avatarMichal Schmidt <mschmidt@redhat.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 94232d9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1350,7 +1350,7 @@ void ipoib_setup(struct net_device *dev)


	ipoib_set_ethtool_ops(dev);
	ipoib_set_ethtool_ops(dev);


	netif_napi_add(dev, &priv->napi, ipoib_poll, 100);
	netif_napi_add(dev, &priv->napi, ipoib_poll, NAPI_POLL_WEIGHT);


	dev->watchdog_timeo	 = HZ;
	dev->watchdog_timeo	 = HZ;