Skip to content

Commit

Permalink
IPoIB: lower NAPI weight
Browse files Browse the repository at this point in the history
Since commit 82dc3c6 ("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>
  • Loading branch information
Michal Schmidt authored and Roland Dreier committed Nov 8, 2013
1 parent 94232d9 commit 7f1a386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/ulp/ipoib/ipoib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ void ipoib_setup(struct net_device *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;

Expand Down

0 comments on commit 7f1a386

Please sign in to comment.