OSDN Git Service

virtio_net: remove custom busy_poll
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 14:35:36 +0000 (06:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 16:13:55 +0000 (11:13 -0500)
commitceef438d613f6d496ca84bad2ddf21786ee0e9f6
tree66cab94bffeba2f6cc141d74c2c95c70bae5680f
parentc45f8e109b6214a80c27d785c044178231ef4990
virtio_net: remove custom busy_poll

Generic NAPI busy polling allows us to remove custom implementations
found in drivers.

It is possible further optimization could be done by testing
napi_complete_done() return value.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c