diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-07-27 01:09:45 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-07-27 01:35:58 +0200 |
commit | dc169643a45728d697fdce49cd45324e51c8eb01 (patch) | |
tree | 8450b5ad04de9ac7e264e0805266fd5320b0f579 /Makefile | |
parent | fd5050ccbacfbcf7dee4075144ef3cd8f282f493 (diff) | |
download | passt-dc169643a45728d697fdce49cd45324e51c8eb01.tar passt-dc169643a45728d697fdce49cd45324e51c8eb01.tar.gz passt-dc169643a45728d697fdce49cd45324e51c8eb01.tar.bz2 passt-dc169643a45728d697fdce49cd45324e51c8eb01.tar.lz passt-dc169643a45728d697fdce49cd45324e51c8eb01.tar.xz passt-dc169643a45728d697fdce49cd45324e51c8eb01.tar.zst passt-dc169643a45728d697fdce49cd45324e51c8eb01.zip |
tcp: Full batched processing for tap messages
Similar to UDP, but using a simple sendmsg() on iovec-style buffers
from tap instead, as we don't need to preserve message boundaries.
A quick test in PASTA mode, from namespace to init via tap:
# ip link set dev pasta0 mtu 16384
# iperf3 -c 192.168.1.222 -t 60
[...]
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.00 sec 80.4 GBytes 11.5 Gbits/sec receiver
# iperf3 -c 2a02:6d40:3cfc:3a01:2b20:4a6a:c25a:3056 -t 60
[...]
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.01 sec 39.9 GBytes 5.71 Gbits/sec receiver
# ip link set dev pasta0 mtu 65520
# iperf3 -c 192.168.1.222 -t 60
[...]
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.01 sec 88.7 GBytes 12.7 Gbits/sec receiver
# iperf3 -c 2a02:6d40:3cfc:3a01:2b20:4a6a:c25a:3056 -t 60
[...]
[ ID] Interval Transfer Bitrate
[ 5] 0.00-60.00 sec 79.5 GBytes 11.4 Gbits/sec receiver
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions