ipoib: switch to netif_napi_add_weight()
authorJakub Kicinski <kuba@kernel.org>
Tue, 5 Jul 2022 23:02:08 +0000 (16:02 -0700)
committerLeon Romanovsky <leonro@nvidia.com>
Sun, 17 Jul 2022 18:30:02 +0000 (21:30 +0300)
commit2157f5caaed59128d70a1dd72f5ec809cad54407
treea319081dfdbdb4aa6401cfecbb67097e2c1df3a8
parent9217a222fbca0b2e9d1237b147c6b0bfe9ce969f
ipoib: switch to netif_napi_add_weight()

We want to remove the weight argument from the basic
netif_napi_add() API and just default to 64.
Switch ipoib to the new API for explicitly specifying
the weight.

Link: https://lore.kernel.org/r/20220705230208.924408-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/ipoib/ipoib_main.c