diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-05-20 02:11:14 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-05-30 11:14:16 +0930 |
commit | 7ab358c23cbf15cea08129cd722d1ce77433a94d (patch) | |
tree | 713d38823efda30222230314bcae26b919782f16 /drivers/isdn | |
parent | 4423fe40b03f32b11e72ecfa03077e702e55d5a9 (diff) | |
download | kernel_samsung_smdk4412-7ab358c23cbf15cea08129cd722d1ce77433a94d.tar.gz kernel_samsung_smdk4412-7ab358c23cbf15cea08129cd722d1ce77433a94d.tar.bz2 kernel_samsung_smdk4412-7ab358c23cbf15cea08129cd722d1ce77433a94d.zip |
virtio: add api for delayed callbacks
Add an API that tells the other side that callbacks
should be delayed until a lot of work has been done.
Implement using the new event_idx feature.
Note: it might seem advantageous to let the drivers
ask for a callback after a specific capacity has
been reached. However, as a single head can
free many entries in the descriptor table,
we don't really have a clue about capacity
until get_buf is called. The API is the simplest
to implement at the moment, we'll see what kind of
hints drivers can pass when there's more than one
user of the feature.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions