virtio-net: napi helper functions
authorWillem de Bruijn <willemb@google.com>
Mon, 24 Apr 2017 17:49:26 +0000 (13:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Apr 2017 03:55:19 +0000 (23:55 -0400)
commite4e8452a4ab304913c4b4242ba06bc4624f14a84
treed396983e0d1b1e0e42c63bf7ab2bf2d1f2c79aea
parent14933dc8d9964e46f1d5bd2a4dfe3d3be8e420e0
virtio-net: napi helper functions

Prepare virtio-net for tx napi by converting existing napi code to
use helper functions. This also deduplicates some logic.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c