]> git.baikalelectronics.ru Git - kernel.git/commit
net: virtio: switch to netif_napi_add_weight()
authorJakub Kicinski <kuba@kernel.org>
Fri, 6 May 2022 17:07:50 +0000 (10:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2022 10:33:57 +0000 (11:33 +0100)
commit79bafe28b2cbbc2d80bd9624ab5a15e987d7d0e3
treed476a4fc84e54f802c2a909868dbfa77bc1d9970
parent268c8d1ee972ce6638626d93ee8b3d2a0d9c520c
net: virtio: switch to netif_napi_add_weight()

virtio netdev driver uses a custom napi weight, switch to the new
API for setting custom weight.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c