diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-07 13:42:47 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 09:54:13 +0100 |
commit | 1b762571475476cbbee09f7dc3bce3f1a4c09f49 (patch) | |
tree | af32b8c644f6b3eb869f530e38521a2b60276e4c /test/perf/passt_tcp | |
parent | 8545058fbe7e927f5183ea200b32a849977f0de7 (diff) | |
download | passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.tar passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.tar.gz passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.tar.bz2 passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.tar.lz passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.tar.xz passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.tar.zst passt-1b762571475476cbbee09f7dc3bce3f1a4c09f49.zip |
tcp_splice: Exploit side symmetry in tcp_splice_timer()
tcp_splice_timer() has two very similar blocks one after another that
handle the SO_RCVLOWAT flags for the two sides of the connection. We can
deduplicate this with a loop across the two sides.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/passt_tcp')
0 files changed, 0 insertions, 0 deletions