]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2009 04:26:47 +0000 (22:26 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Sep 2009 12:56:47 +0000 (22:26 +0930)
commit544bb60bce2b4ef617ede63c1acc8f5e28fcd904
treeca7ef0c06dc20d0529c9c2edfb22a2925edeb721
parent61d2ec14dae0d441da845b50557cdee7a99d40ea
lguest: don't force VIRTIO_F_NOTIFY_ON_EMPTY

VIRTIO_F_NOTIFY_ON_EMPTY indicates to the Guest that we will hit them with
an interrupt every time the xmit queue is emptied.

Because it results in lots of tx interrupts, modern Guests probably don't
want it, so let's only force it when they accept the option.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c