[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eee240d6-905d-b667-bc3c-b9f4cfa8f8c7@gmail.com>
Date: Mon, 22 Jan 2018 19:00:45 +0200
From: Serhey Popovych <serhe.popovych@...il.com>
To: Jiri Benc <jbenc@...hat.com>
Cc: netdev@...r.kernel.org, u9012063@...il.com,
julien@...ulusnetworks.com
Subject: Re: [PATCH iproute2-next 1/2] ip/tunnel: Be consistent when printing
tunnel collect metadata
Jiri Benc wrote:
> On Mon, 22 Jan 2018 18:46:53 +0200, Serhey Popovych wrote:
>> + if (tb[IFLA_GRE_COLLECT_METADATA]) {
>> + print_bool(PRINT_ANY, "collect_metadata", "external", true);
>> + return;
>> + }
>
> Nacked-by: Jiri Benc <jbenc@...hat.com>
>
> Don't ever use "collect_metadata" for anything visible to the user.
>
> collect_metadata is a *horrible* name. It describes the internal
> implementation of the lwtunneling in the kernel and provides zero
> explanation to the user about what's that feature good for.
>
> The netlink attribute should have never had such name but it's uAPI and
> we have to live with it. But there's no reason to expose this to the
> user.
>
> Stick with the "external" name. It explains what it is about: instead of
> the traffic being controlled by the tunnel internal logic (or tunnel
> control plane, if you want), an external logic needs to be attached to
> the tunnel in order for the tunneling to work.
Thanks! That's probably what I expect to hear. Will prepare v2 shortly.
>
> Jiri
>
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists