From: Pavel Begunkov <[email protected]>
To: [email protected]
Cc: Jens Axboe <[email protected]>, Conrad Meyer <[email protected]>,
[email protected], [email protected]
Subject: Re: [PATCH liburing 1/1] test/send-zerocopy: test fix datagrams over UDP limit
Date: Thu, 22 Aug 2024 04:35:35 +0100 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <285eca872bd46640ed209c0b09628f53744cb3ab.1724110909.git.asml.silence@gmail.com>
On 8/22/24 04:30, Pavel Begunkov wrote:
> Signed-off-by: Pavel Begunkov <[email protected]>
Please ignore, was resent by accident. Apologies for the noise
> ---
> test/send-zerocopy.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/test/send-zerocopy.c b/test/send-zerocopy.c
> index 8796974..597ecf1 100644
> --- a/test/send-zerocopy.c
> +++ b/test/send-zerocopy.c
> @@ -646,7 +646,8 @@ static int test_inet_send(struct io_uring *ring)
>
> if (!buffers_iov[buf_index].iov_base)
> continue;
> - if (!tcp && len > 4 * page_sz)
> + /* UDP IPv4 max datagram size is under 64K */
> + if (!tcp && len > (1U << 15))
> continue;
>
> conf.buf_index = buf_index;
--
Pavel Begunkov
prev parent reply other threads:[~2024-08-22 3:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 21:53 [PATCH liburing 1/1] test/send-zerocopy: test fix datagrams over UDP limit Pavel Begunkov
2024-08-21 0:12 ` Jens Axboe
2024-08-22 3:30 ` Pavel Begunkov
2024-08-22 3:35 ` Pavel Begunkov [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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox