From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40694 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754051AbeCRRm1 (ORCPT ); Sun, 18 Mar 2018 13:42:27 -0400 Date: Sun, 18 Mar 2018 18:42:21 +0100 From: Stefano Brivio To: David Ahern Cc: "David S . Miller" , Sabrina Dubroca , Steffen Klassert , netdev@vger.kernel.org Subject: Re: [PATCH net-next 00/10 v2] selftests: pmtu: Add further vti/vti6 MTU and PMTU tests Message-ID: <20180318184221.4e80a208@epycfail> In-Reply-To: <42e5ee79-1cca-92f8-4b0f-8cdbfd09e071@gmail.com> References: <42e5ee79-1cca-92f8-4b0f-8cdbfd09e071@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: On Sun, 18 Mar 2018 11:31:10 -0600 David Ahern wrote: > On 3/16/18 7:31 PM, Stefano Brivio wrote: > > Patches 5/10 to 10/10 add tests to verify default MTU assignment > > for vti4 and vti6 interfaces, to check that MTU values set on new > > link and link changes are properly taken and validated, and to > > verify PMTU exceptions on vti4 interfaces. > > > > Patch 1/10 reverses function return codes as suggested by David > > Ahern. > > > > Patch 2/10 fixes the helper to fetch exceptions MTU to run in the > > passed namespace. > > > > Patches 3/10 and 4/10 are preparation work to make it easier to > > introduce those tests. > > > > v2: Reverse return codes, and make output prettier in 4/9 by > > using padded printf, test descriptions and buffered error > > strings. Remove accidental output to /dev/kmsg from 10/10 > > (was 9/9). > > pulling pmtu.sh from net-next I see log messages on console: > > [ 890.741117] ip netns exec ns-kFUQx6 ip link set vti6_a type vti6 > remote fc00:1001::0 local fc00:1001::0 > [ 890.837569] ip netns exec ns-kFUQx6 ip link set vti6_a mtu 1280 type > vti6 remote fc00:1000::0 local fc00:1000::0 Thanks for checking. I accidentally left two more prints to kernel log in 10/10, I'll send another patch to remove them. -- Stefano