From: Stefano Brivio <sbrivio@redhat.com>
To: Xun Gu <xugu@redhat.com>
Cc: passt-dev@passt.top
Subject: Re: [PATCH] Reduce tcp_buf_discard size
Date: Thu, 11 Sep 2025 17:45:12 +0200 [thread overview]
Message-ID: <20250911174512.6345e635@elisabeth> (raw)
In-Reply-To: <20250908110439.22327-1-xugu@redhat.com>
On Mon, 8 Sep 2025 20:04:39 +0900
"xugu@redhat.com" <xugu@redhat.com> wrote:
> From: Xun Gu <xugu@redhat.com>
>
> 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>
Applied, thanks, and welcome to the git log!
--
Stefano
prev parent reply other threads:[~2025-09-11 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 11:04 [PATCH] Reduce tcp_buf_discard size xugu
2025-09-09 16:13 ` Stefano Brivio
2025-09-11 14:40 ` Stefano Brivio
2025-09-11 15:45 ` Stefano Brivio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250911174512.6345e635@elisabeth \
--to=sbrivio@redhat.com \
--cc=passt-dev@passt.top \
--cc=xugu@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).