diff options
author | Sjur Brændeland <sjur.brandeland@stericsson.com> | 2013-03-20 13:51:24 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-20 14:06:05 +1030 |
commit | 3beee86a4b9374e38dba36b44e81f1423a0d6b54 (patch) | |
tree | 5993020791a65623200b45393ccd63b342d5a933 /drivers/net/caif | |
parent | 1515c5ce26ae45a8ecea4e68a484562ca4356442 (diff) | |
download | blackbird-op-linux-3beee86a4b9374e38dba36b44e81f1423a0d6b54.tar.gz blackbird-op-linux-3beee86a4b9374e38dba36b44e81f1423a0d6b54.zip |
virtio: Introduce vringh wrappers in virtio_config
Add wrappers for the host vrings to support loose
coupling between the virtio device and driver.
A new struct vringh_config_ops with the functions
find_vrhs() and del_vrhs() is added to the virtio_device
struct. This enables virtio drivers to manage virtio
host rings without detailed knowledge of how the
vrings are created and deleted.
The function vringh_notify() is added so vringh clients
can notify the other side that buffers are added to the
used-ring.
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (constified vringh_config)
Diffstat (limited to 'drivers/net/caif')
0 files changed, 0 insertions, 0 deletions