From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/1] net/broken_ip: Rewrite into new API
Date: Mon, 6 May 2019 17:32:20 +0200 [thread overview]
Message-ID: <20190506153220.GA21222@dell5510> (raw)
In-Reply-To: <0c7a3010-d7d6-1d83-0548-148adb55b2cc@oracle.com>
Hi Alexey,
> >> Acked-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> > ...
> >>> +export ICMPV4_DATA_MAXSIZE=1472
> >>> +export ICMPV6_DATA_MAXSIZE=1452
> >> Since these variables are in the library, may be it would be better to tune
> >> them depending on an MTU of the tests interfaces?
> > Good idea. 1472 and 1452 are based on MTU = 1500 (IPv4: 1500 - 20 bytes for IPv4 header
> > - 8 bytes for ICMP header; IPv6: 1500 - 40 bytes for IPv6 header - 8 bytes for ICMP header),
> > which looks to me as the default for netns NICs and ethernet and wifi NICs,
> > but we should avoid failures when different MTU used.
> > I propose merging this version and add MTU detection support later.
> OK. Perhaps we should rename them to indicate that they relate to ns-icmpv_sender,
> because the maximum icmp data size is 65535 - headers, not those values.
True. How about this:
export NS_ICMPV4_SENDER_DATA_MAXSIZE=1472
export NS_ICMPV6_SENDER_DATA_MAXSIZE=1452
Kind regards,
Petr
next prev parent reply other threads:[~2019-05-06 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-27 5:39 [LTP] [PATCH 1/1] net/broken_ip: Rewrite into new API Petr Vorel
2019-04-30 15:42 ` Alexey Kodanev
2019-05-02 11:44 ` Petr Vorel
2019-05-06 14:32 ` Alexey Kodanev
2019-05-06 15:32 ` Petr Vorel [this message]
2019-05-06 15:42 ` Alexey Kodanev
2019-05-06 19:57 ` Petr Vorel
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=20190506153220.GA21222@dell5510 \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/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