diff options
author | Shirley Ma <mashirle@us.ibm.com> | 2010-01-18 19:15:23 +0530 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-24 14:22:27 +1030 |
commit | c021eac4148c16bf53baa0dd14e8ebee6f39dab5 (patch) | |
tree | 558db2ede74488606614d6e7e277f9914e38fbc1 /kernel/dma.c | |
parent | 69740c8ba878f58bc3c71f74618fc2cd1da990da (diff) | |
download | linux-c021eac4148c16bf53baa0dd14e8ebee6f39dab5.tar.bz2 |
virtio: Add ability to detach unused buffers from vrings
There's currently no way for a virtio driver to ask for unused
buffers, so it has to keep a list itself to reclaim them at shutdown.
This is redundant, since virtio_ring stores that information. So
add a new hook to do this.
Signed-off-by: Shirley Ma <xma@us.ibm.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions