summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-07-09 12:19:18 +0200
committerDavid S. Miller <davem@davemloft.net>2013-07-09 21:45:37 +0200
commitcc229884d3f77ec3b1240e467e0236c3e0647c0c (patch)
treea2617adb191288d049629f911b7fef7038557a8e /drivers/net/virtio_net.c
parentnet/cadence/macb: fix bug/typo in extracting gem_irq_read_clear bit (diff)
downloadlinux-cc229884d3f77ec3b1240e467e0236c3e0647c0c.tar.xz
linux-cc229884d3f77ec3b1240e467e0236c3e0647c0c.zip
virtio: support unlocked queue poll
This adds a way to check ring empty state after enable_cb outside any locks. Will be used by virtio_net. Note: there's room for more optimization: caller is likely to have a memory barrier already, which means we might be able to get rid of a barrier here. Deferring this optimization until we do some benchmarking. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions