IB/hfi1: Switch to netif_napi_add()
authorYang Yang <yang.yang29@zte.com.cn>
Wed, 30 Nov 2022 09:44:37 +0000 (17:44 +0800)
committerLeon Romanovsky <leon@kernel.org>
Thu, 1 Dec 2022 09:09:48 +0000 (11:09 +0200)
commit10aa7cd398a9ead7464a7f8b49d4e4c843806813
treebaea2d96020a65d4c2e05e6f67d0de8c25848b4a
parentfc8f93ad3e5485d45c992233c96acd902992dfc4
IB/hfi1: Switch to netif_napi_add()

There is no need to use netif_napi_add_weight() when the weight argument
is 64. See "net: drop the weight argument from netif_napi_add".

Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Link: https://lore.kernel.org/r/202211301744378304494@zte.com.cn
Reviewed-by: xu xin <xu.xin16@zte.com.cn>
Reviewed-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/netdev_rx.c