diff options
| author | Shirley Ma <mashirle@us.ibm.com> | 2010-01-29 03:19:05 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-02-02 15:55:42 -0800 |
| commit | f9bfbebf34eab707b065116cdc9699d25ba4252a (patch) | |
| tree | 8cecf55980c72085dcc6e6af39bdfc7cccf18b69 /drivers/net/virtio_net.c | |
| parent | 28aecb9d7728dc26bf03ce7925fe622023a83a2a (diff) | |
| download | linux-f9bfbebf34eab707b065116cdc9699d25ba4252a.tar.gz linux-f9bfbebf34eab707b065116cdc9699d25ba4252a.tar.bz2 linux-f9bfbebf34eab707b065116cdc9699d25ba4252a.zip | |
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions
