[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86c2633a-22cf-6a59-c500-35ee6e9e35a2@gmail.com>
Date: Tue, 6 Mar 2018 21:47:12 -0700
From: David Ahern <dsahern@...il.com>
To: Stefano Brivio <sbrivio@...hat.com>,
"David S . Miller" <davem@...emloft.net>
Cc: Wei Wang <weiwan@...gle.com>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Maciej Żenczykowski <maze@...gle.com>,
Xiumei Mu <xmu@...hat.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v3] selftests: net: Introduce first PMTU test
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 <dsahern@...il.com>
> Signed-off-by: Stefano Brivio <sbrivio@...hat.com>
> ---
> 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 <dsahern@...il.com>
Powered by blists - more mailing lists