Since commit 82dc3c63 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 <mschm...@redhat.com> CC: Faisal Latif <faisal.la...@intel.com> CC: Roland Dreier <rol...@kernel.org> CC: Sean Hefty <sean.he...@intel.com> CC: Hal Rosenstock <hal.rosenst...@gmail.com> --- drivers/infiniband/hw/nes/nes_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 49eb511..0eb34a9 100644 --- a/drivers/infiniband/hw/nes/nes_nic.c +++ b/drivers/infiniband/hw/nes/nes_nic.c @@ -1679,7 +1679,7 @@ struct net_device *nes_netdev_init(struct nes_device *nesdev, netdev->type = ARPHRD_ETHER; netdev->netdev_ops = &nes_netdev_ops; netdev->ethtool_ops = &nes_ethtool_ops; - netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, 128); + netif_napi_add(netdev, &nesvnic->napi, nes_netdev_poll, NAPI_POLL_WEIGHT); nes_debug(NES_DBG_INIT, "Enabling VLAN Insert/Delete.\n"); /* Fill in the port structure */ -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html