diff options
| author | Xun Gu <xugu@redhat.com> | 2025-09-08 20:04:39 +0900 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-11 17:09:03 +0200 |
| commit | cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023 (patch) | |
| tree | ece518e7c5766065f4963e0499527215b97adb16 /test | |
| parent | 8d2f8c4d0fb58d6b2011e614bc7d7ff9dab406b3 (diff) | |
| download | passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.tar passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.tar.gz passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.tar.bz2 passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.tar.lz passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.tar.xz passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.tar.zst passt-cd2e8863d4d3e98e81e50b3e713aa9c64a6cd023.zip | |
Reduce tcp_buf_discard size
On kernels without SO_PEEK_OFF, a 16MB static buffer is used to
discard sent data. This patch reduces the buffer to 1MB.
Larger discards are now handled by using multiple iovec entries
pointing to the same 1MB buffer.
Signed-off-by: Xun Gu <xugu@redhat.com>
[sbrivio: Drop stray whitespace after BUF_DISCARD_SIZE define]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
