aboutgitcodebugslistschat
path: root/test/lib/git:/passt.top
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-11-03 11:16:11 +0100
committerStefano Brivio <sbrivio@redhat.com>2025-12-08 04:47:22 +0100
commit68b0a36d6a40aece53df9d2a0a89addd07eda515 (patch)
tree6d581684967a8077c7a9c8e684ea31cd9e762e0b /test/lib/git:/passt.top
parentb9cd36fa1f306ed2a1cc5c1a0c38ce05202afaaa (diff)
downloadpasst-68b0a36d6a40aece53df9d2a0a89addd07eda515.tar
passt-68b0a36d6a40aece53df9d2a0a89addd07eda515.tar.gz
passt-68b0a36d6a40aece53df9d2a0a89addd07eda515.tar.bz2
passt-68b0a36d6a40aece53df9d2a0a89addd07eda515.tar.lz
passt-68b0a36d6a40aece53df9d2a0a89addd07eda515.tar.xz
passt-68b0a36d6a40aece53df9d2a0a89addd07eda515.tar.zst
passt-68b0a36d6a40aece53df9d2a0a89addd07eda515.zip
tcp, udp: Pad batched frames to 60 bytes (802.3 minimum) in non-vhost-user modes
Add a further iovec frame part, TCP_IOV_ETH_PAD for TCP and UDP_IOV_ETH_PAD for UDP, after the payload, make that point to a zero-filled buffer, and send out a part of it if needed to reach the minimum frame length given by 802.3, that is, 60 bytes altogether. The frames we might need to pad are IPv4 only (the IPv6 header is larger), and are typically TCP ACK segments but can also be small data segments or datagrams. Link: https://bugs.passt.top/show_bug.cgi?id=166 Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/lib/git:/passt.top')
0 files changed, 0 insertions, 0 deletions