Home
last modified time | relevance | path

Searched hist:c021eac4148c16bf53baa0dd14e8ebee6f39dab5 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dvirtio.hdiff c021eac4148c16bf53baa0dd14e8ebee6f39dab5 Mon Jan 18 07:45:23 CST 2010 Shirley Ma <mashirle@us.ibm.com> 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>
/openbmc/linux/drivers/virtio/
H A Dvirtio_ring.cdiff c021eac4148c16bf53baa0dd14e8ebee6f39dab5 Mon Jan 18 07:45:23 CST 2010 Shirley Ma <mashirle@us.ibm.com> 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>