diff options
author | Laurent Vivier <lvivier@redhat.com> | 2024-11-22 17:43:28 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-27 16:11:18 +0100 |
commit | dd143e38901af1c0c48f483d93558ba0773667db (patch) | |
tree | e63d66c95d772dabbfde4a79d5b2b252bc20f020 /tcp_vu.c | |
parent | c0fbc7ef2ae2919bf6162b4149d341f448289836 (diff) | |
download | passt-dd143e38901af1c0c48f483d93558ba0773667db.tar passt-dd143e38901af1c0c48f483d93558ba0773667db.tar.gz passt-dd143e38901af1c0c48f483d93558ba0773667db.tar.bz2 passt-dd143e38901af1c0c48f483d93558ba0773667db.tar.lz passt-dd143e38901af1c0c48f483d93558ba0773667db.tar.xz passt-dd143e38901af1c0c48f483d93558ba0773667db.tar.zst passt-dd143e38901af1c0c48f483d93558ba0773667db.zip |
packet: replace struct desc by struct iovec
To be able to manage buffers inside a shared memory provided
by a VM via a vhost-user interface, we cannot rely on the fact
that buffers are located in a pre-defined memory area and use
a base address and a 32bit offset to address them.
We need a 64bit address, so replace struct desc by struct iovec
and update range checking.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_vu.c')
0 files changed, 0 insertions, 0 deletions