diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-09-02 09:52:27 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-03 20:42:20 +0200 |
| commit | 720d8fc06946bef73ddb042c431a0c71bd6cf409 (patch) | |
| tree | 7f27521b91baf6f298e60a49f10e3813b50be86b /doc | |
| parent | 70b9c0c0a2281fe332692283e4b4edd1f6db092c (diff) | |
| download | passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.tar passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.tar.gz passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.tar.bz2 passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.tar.lz passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.tar.xz passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.tar.zst passt-720d8fc06946bef73ddb042c431a0c71bd6cf409.zip | |
tap: Use iov_tail with tap_add_packet()
Use IOV_PEEK_HEADER() to get the ethernet header from the iovec.
Move the workaround about multiple iovec array from vu_handle_tx() to
tap_add_packet(). Removing the offset out of the iovec array should
reduce the iovec count to 1.
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 'doc')
0 files changed, 0 insertions, 0 deletions
