From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f50.google.com ([209.85.214.50]:54463 "EHLO mail-it0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753978AbeCGErP (ORCPT ); Tue, 6 Mar 2018 23:47:15 -0500 Received: by mail-it0-f50.google.com with SMTP id c11so1680562ith.4 for ; Tue, 06 Mar 2018 20:47:14 -0800 (PST) Subject: Re: [PATCH net-next v3] selftests: net: Introduce first PMTU test To: Stefano Brivio , "David S . Miller" Cc: Wei Wang , Hideaki YOSHIFUJI , =?UTF-8?Q?Maciej_=c5=bbenczykowski?= , Xiumei Mu , netdev@vger.kernel.org References: <20180306211627.66902-1-sbrivio@redhat.com> From: David Ahern Message-ID: <86c2633a-22cf-6a59-c500-35ee6e9e35a2@gmail.com> Date: Tue, 6 Mar 2018 21:47:12 -0700 MIME-Version: 1.0 In-Reply-To: <20180306211627.66902-1-sbrivio@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: On 3/6/18 2:16 PM, Stefano Brivio wrote: > One single test implemented so far: test_pmtu_vti6_exception > checks that the PMTU of a route exception, caused by a tunnel > exceeding the link layer MTU, is affected by administrative > changes of the tunnel MTU. Creation of the route exception is > checked too. > > Requested-by: David Ahern > Signed-off-by: Stefano Brivio > --- > v3: Explicitly set veth MTU before causing route exception to ensure we actually > decrease the PMTU as second step in the test (issue reported by David Ahern) > > v2: Fix error handling for setup_*() functions, make 'ip route get' output > parsing more robust, sleep after configuring vti6 addresses (all issues > reported by David Ahern) > > tools/testing/selftests/net/Makefile | 2 +- > tools/testing/selftests/net/pmtu.sh | 163 +++++++++++++++++++++++++++++++++++ > 2 files changed, 164 insertions(+), 1 deletion(-) > create mode 100755 tools/testing/selftests/net/pmtu.sh > Acked-by: David Ahern