diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 22:27:01 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 22:27:02 +0930 |
commit | ebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c (patch) | |
tree | b5f0631172db5d97e0a5c6b8a6bc0f83c4a4eed5 /include/rxrpc | |
parent | a6c372de6e4b9a8188b66badcee3e3792eccdd26 (diff) | |
download | kernel_samsung_smdk4412-ebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c.zip kernel_samsung_smdk4412-ebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c.tar.gz kernel_samsung_smdk4412-ebf9a5a99c1a464afe0b4dfa64416fc8b273bc5c.tar.bz2 |
lguest: remove invalid interrupt forcing logic.
20887611523e749d99cc7d64ff6c97d27529fbae (lguest: notify on empty) introduced
lguest support for the VIRTIO_F_NOTIFY_ON_EMPTY flag, but in fact it turned on
interrupts all the time.
Because we always process one buffer at a time, the inflight count is always 0
when call trigger_irq and so we always ignore VRING_AVAIL_F_NO_INTERRUPT from
the Guest.
It should be looking to see if there are more buffers in the Guest's queue:
if it's empty, then we force an interrupt.
This makes little difference, since we usually have an empty queue; but
that's the subject of another patch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions