From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Wed, 16 Dec 2020 15:57:13 +0100 Subject: [LTP] [PATCH 1/1] if-mtu-change.sh: Add max packet size detection for IPv4 In-Reply-To: <53607e8b-176f-5aaf-4b5f-9efabd1d756f@oracle.com> References: <20201215190545.19939-1-pvorel@suse.cz> <53607e8b-176f-5aaf-4b5f-9efabd1d756f@oracle.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Alexey, > > - tst_ping -s "1 1000 65507" > > + tst_ping -s "1 1000 $MAX_PACKET_SIZE" > tst_ping -s "1 $((mtu / 2)) $mtu $MAX_PACKET_SIZE"? Thinking about this twice: adding forth size prolong test a bit (test is already quite slow. But it makes sense to me to test all 4 variants. Kind regards, Petr