aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sun/sungem.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2012-05-02 11:42:54 +0800
committerMichael S. Tsirkin <mst@redhat.com>2012-05-02 18:22:25 +0300
commitc70aa540c7a9f67add11ad3161096fb95233aa2e (patch)
treec02be13561a4a9347efd42cb6379950e5e277025 /drivers/net/ethernet/sun/sungem.c
parentvhost_net: zerocopy: adding and signalling immediately when fully copied (diff)
downloadlinux-dev-c70aa540c7a9f67add11ad3161096fb95233aa2e.tar.xz
linux-dev-c70aa540c7a9f67add11ad3161096fb95233aa2e.zip
vhost: zerocopy: poll vq in zerocopy callback
We add used and signal guest in worker thread but did not poll the virtqueue during the zero copy callback. This may lead the missing of adding and signalling during zerocopy. Solve this by polling the virtqueue and let it wakeup the worker during callback. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/sun/sungem.c')
0 files changed, 0 insertions, 0 deletions