]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_net: use default napi weight by default
authorAmerigo Wang <amwang@redhat.com>
Thu, 9 May 2013 19:50:51 +0000 (19:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 May 2013 00:40:14 +0000 (17:40 -0700)
commitd7b4670128def757bb26677d080b4164341a2b20
tree0ad120cd54b2eaba50104918b2198272e08e30ee
parent95087779abc418f3f49d00bc522fc95e49914735
virtio_net: use default napi weight by default

Since commit ea44ff09631494be80c4f ("net: introduce NAPI_POLL_WEIGHT")
we warn drivers when they use napi weight higher than NAPI_POLL_WEIGHT,
but virtio_net still uses 128 by default. This patch makes its default
value to NAPI_POLL_WEIGHT.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c