commit | 282edb36499042a92b71f052f51754ae7ed936e4 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Wed Mar 20 15:44:26 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Mar 20 15:44:52 2013 +1030 |
tree | 5031caab94e52b30e48515e881ea87a32daaeaeb | |
parent | 13816c768d46586e925b22736992258d6105ad2c [diff] |
virtio_ring: virtqueue_add_outbuf / virtqueue_add_inbuf. These are specialized versions of virtqueue_add_buf(), which cover over 80% of cases and are far clearer. In particular, the scatterlists passed to these functions don't have to be clean (ie. we ignore end markers). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>