[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c2c0364e-ba50-305a-117c-784950de725e@gmail.com>
Date: Thu, 28 Dec 2017 07:31:46 +0200
From: Serhey Popovych <serhe.popovych@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, u9012063@...il.com
Subject: Re: [PATCH iproute2 0/3] ip/tunnel: Fix noencap- and document
"external" parameter handling.
Stephen Hemminger wrote:
> On Wed, 27 Dec 2017 13:28:13 +0200
> Serhey Popovych <serhe.popovych@...il.com> wrote:
>
>> In this series I present next set of improvements/fixes:
>>
>> 1) Fix noencap- option handling: we need to clear bit, instead
>> of seting all, but one we expect to clear.
>>
>> 2) Document "external" parameter both in ip-link(8) and help
>> output for link_gre.c. Add "noexternal" option variant to
>> bring inline with GENEVE and VXLAN.
>>
>> 3) Trivial: clear flowlabel/tclass from flowinfo in case of
>> inherit to stop sending garbage to the kernel. It has no
>> functional change, but follows similar behaviour in link_ip6tnl.c
>>
>> See individual patch description message for details.
>>
>> Thanks,
>> Serhii
>>
>> Serhey Popovych (3):
>> gre,ip6tnl/tunnel: Fix noencap- support
>> gre6/tunnel: Do not submit garbage in flowinfo
>> ip/tunnel: Document "external" parameter
>>
>> ip/link_gre.c | 7 +++++--
>> ip/link_gre6.c | 4 ++--
>> ip/link_ip6tnl.c | 6 ++++--
>> ip/link_iptnl.c | 4 +++-
>> man/man8/ip-link.8.in | 6 ++++++
>> 5 files changed, 20 insertions(+), 7 deletions(-)
>>
>
> These are really disjoint. I applied the noencap and the flowinfo patch.
> Agree with William that having noexternal which does nothing useful is of little value now.
Agree with you guys, just added it to match GENEVE/VXLAN implementation
which is has "noexternal".
Will send v2 to just document "external" and clear flowlabel/tclass in
flowinfo in case of inherit.
I have plans for iproute2-next to merge link_{gre,vti}{,6}.c and
link_ip{6,}tnl.c functionality together and just want to do things
as clear as possible before doing merge.
This is to reduce size of ip(8) binary to help openwrt like solutions to
survive JSON print support that increases size of binary.
Thank you for quick review and good feed back!
>
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists