nuttx/drivers/vhost
Bowen Wang 2fc2f44b61 drivers/vhost: add vhost_get_vq_buffers() to collect scatter-gather buffers
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>
2026-02-04 02:32:02 +08:00
..
CMakeLists.txt drivers/vhost: fix cmake typos 2026-01-19 14:18:27 +08:00
Kconfig virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
Make.defs virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
vhost-rng.c drivers/vhost-rng: fix the vhost-rng compile error 2026-01-19 14:18:27 +08:00
vhost-rng.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
vhost-rpmsg.c virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
vhost-rpmsg.h virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
vhost.c drivers/vhost: add vhost_get_vq_buffers() to collect scatter-gather buffers 2026-02-04 02:32:02 +08:00