mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 21:27:49 +00:00
Add vhost_get_vq_buffers() API to retrieve all chained buffers from a virtqueue in one call. This simplifies handling of scatter-gather I/O where data spans multiple descriptors. The function populates an array of virtqueue_buf structures with buffer pointers and lengths, returning the descriptor head index on success. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> Signed-off-by: hongfengchen <hongfengchen@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| vhost-rng.c | ||
| vhost-rng.h | ||
| vhost-rpmsg.c | ||
| vhost-rpmsg.h | ||
| vhost.c | ||