[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181107205429.5cf8a584@redhat.com>
Date: Wed, 7 Nov 2018 20:54:29 +0100
From: Stefano Brivio <sbrivio@...hat.com>
To: David Ahern <dsahern@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Sabrina Dubroca <sd@...asysnail.net>,
Xin Long <lucien.xin@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 04/11] selftests: pmtu: Introduce tests for
IPv4/IPv6 over VxLAN over IPv6
On Wed, 7 Nov 2018 12:28:21 -0700
David Ahern <dsahern@...il.com> wrote:
> On 11/6/18 2:39 PM, Stefano Brivio wrote:
> > Use a router between endpoints, implemented via namespaces, set a low MTU
> > between router and destination endpoint, exceed it and check PMTU value in
> > route exceptions.
> >
> > Reviewed-by: Sabrina Dubroca <sd@...asysnail.net>
> > Signed-off-by: Stefano Brivio <sbrivio@...hat.com>
> > ---
> > This only introduces tests over VxLAN over IPv6 right now. I'll introduce
> > tests over IPv4 (they can be added trivially) once DF configuration support
> > is accepted into iproute2.
>
> you can add them now and wrapped in a 'does ip support the df option'
> check. That is needed regardless of order (kernel vs iproute2).
True, I thought about that, but then I also thought that if we end up
with a different syntax for the iproute2 command, that becomes ugly.
Then yes, the check would be there -- it's actually already there, that
|| return 1 after the ip-link command.
--
Stefano
Powered by blists - more mailing lists