]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit784592b17f3607578fcee0e612d00ef95d4b2eab
tree66cab94bffeba2f6cc141d74c2c95c70bae5680f
parentc75bd5fc124bf017ccb0fd6e890f0e387ff26610
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