]> git.baikalelectronics.ru Git - kernel.git/commit
staging: switch to netif_napi_add_weight()
authorJakub Kicinski <kuba@kernel.org>
Tue, 5 Jul 2022 22:58:01 +0000 (15:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:28:21 +0000 (14:28 +0200)
commit1f9fe70db3425449ee846cc8d0e5ea2116d9cf8e
treef84d8d65ec93c130ff409400cc07a9608f45bd9b
parentfbce53278c16dd79af6c2312b6a712289a289112
staging: switch to netif_napi_add_weight()

netif_napi_add() will soon default to weight of 64 instead of
requiring the user to specify that parameter. Most users already
pass or should pass 64. Move the callers in staging to
netif_napi_add_weight() which will keep the argument.
This way we'll avoid a huge cross-tree conversion when
argument is removed.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20220705225801.923601-1-kuba@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rx.c
drivers/staging/qlge/qlge_main.c