aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-15 17:13:23 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-15 17:13:23 +0200
commit38fbfdbcb95d1636387a2946e59396fff4a97b77 (patch)
treeb919c1cc721b5fc79e06062f2edfa8b7315f3a7f /test
parent54e6513d17802200538e30d54845b18abbe2ec0f (diff)
downloadpasst-38fbfdbcb95d1636387a2946e59396fff4a97b77.tar
passt-38fbfdbcb95d1636387a2946e59396fff4a97b77.tar.gz
passt-38fbfdbcb95d1636387a2946e59396fff4a97b77.tar.bz2
passt-38fbfdbcb95d1636387a2946e59396fff4a97b77.tar.lz
passt-38fbfdbcb95d1636387a2946e59396fff4a97b77.tar.xz
passt-38fbfdbcb95d1636387a2946e59396fff4a97b77.tar.zst
passt-38fbfdbcb95d1636387a2946e59396fff4a97b77.zip
tcp: Get rid of iov with cached MSS, drop sendmmsg(), add deferred flush
Caching iov_len for messages from socket doesn't actually decrease overhead by the tiniest bit, and added a lot of complexity. Drop that. Also drop the sendmmsg(), we don't need to send multiple messages with TCP, as long as we make sure no messages with a length descriptor are sent partially, qemu is fine with it. Just like it's done for segments without data (flags), also defer the sendmsg() for sending data segments, to improve batching. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions