[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <85c4d051-8820-4083-8220-da2c14c29dab@fiberby.net>
Date: Mon, 10 Nov 2025 16:38:40 +0000
From: Asbjørn Sloth Tønnesen <ast@...erby.net>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: Donald Hunter <donald.hunter@...il.com>, Jakub Kicinski
<kuba@...nel.org>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, Jan Stancek <jstancek@...hat.com>,
"Matthieu Baerts (NGI0)" <matttbe@...nel.org>,
Stanislav Fomichev <sdf@...ichev.me>, Ido Schimmel <idosch@...dia.com>,
Guillaume Nault <gnault@...hat.com>, Sabrina Dubroca <sd@...asysnail.net>,
Petr Machata <petrm@...dia.com>, netdev@...r.kernel.org
Subject: Re: [PATCHv3 net-next 2/3] netlink: specs: support ipv4-or-v6 for
dual-stack fields
On 11/10/25 9:59 AM, Hangbin Liu wrote:
> Since commit 1b255e1beabf ("tools: ynl: add ipv4-or-v6 display hint"), we
> can display either IPv4 or IPv6 addresses for a single field based on the
> address family. However, most dual-stack fields still use the ipv4 display
> hint. This update changes them to use the new ipv4-or-v6 display hint and
> converts IPv4-only fields to use the u32 type.
>
> Field changes:
> - v4-or-v6
> - IFA_ADDRESS, IFA_LOCAL
> - IFLA_GRE_LOCAL, IFLA_GRE_REMOTE
> - IFLA_VTI_LOCAL, IFLA_VTI_REMOTE
> - IFLA_IPTUN_LOCAL, IFLA_IPTUN_REMOTE
> - NDA_DST
> - RTA_DST, RTA_SRC, RTA_GATEWAY, RTA_PREFSRC
> - FRA_SRC, FRA_DST
> - ipv4
> - IFA_BROADCAST
> - IFLA_GENEVE_REMOTE
> - IFLA_IPTUN_6RD_RELAY_PREFIX
>
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Thanks for finding these! I can't remember how I did my previous
check, and why I didn't find these earlier.
Reviewed-by: Asbjørn Sloth Tønnesen <ast@...erby.net>
Powered by blists - more mailing lists