IB/hfi1: switch to netif_napi_add_weight()
authorJakub Kicinski <kuba@kernel.org>
Tue, 5 Jul 2022 23:02:07 +0000 (16:02 -0700)
committerLeon Romanovsky <leonro@nvidia.com>
Sun, 17 Jul 2022 18:29:53 +0000 (21:29 +0300)
commit9217a222fbca0b2e9d1237b147c6b0bfe9ce969f
tree63d82ca188a99f621bdf5cc136783c55d14b2f4e
parent6b81b7073ae69b5452403422e28e34762d322bc2
IB/hfi1: switch to netif_napi_add_weight()

Since we'll remove the last argument from netif_napi_add()
soon switch this RDMA driver to netif_napi_add_weight()
for now to avoid cross-tree patches.

Link: https://lore.kernel.org/r/20220705230208.924408-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/netdev_rx.c