Files
cloud-hypervisor/net_util
Anatol Belski 72796d62eb net_util: queue_pair: Use vnet_hdr_len when locating num_buffers
num_buffers sits at offset 10 of the virtio net header, so only
vnet_hdr_len() bytes need to translate contiguously to compute
its host address. Shrink the translate_gva length from desc.len()
to vnet_hdr_len() so the request matches what is actually read.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2026-07-07 12:54:03 +00:00
..
2026-03-23 12:50:38 +00:00