commit | 2ffa75988fff39741e60141ce4a349e2419b41e6 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed Jul 23 16:33:54 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 23 15:12:01 2014 -0700 |
tree | 514ca37970b5808e9a1a2f0fbdf40397a4761eba | |
parent | 96b3bff4c94cebc97726dc7f019cfc7ba3ced2e1 [diff] |
virtio-net: introduce virtnet_receive() Move common receive logic to a new helper virtnet_receive(). It will also be used by rx busy polling method. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Vlad Yasevich <vyasevic@redhat.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>