[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a6fb6faf-8b2b-4a5c-a49a-f31edf1d208a@kernel.org>
Date: Tue, 7 Jan 2025 08:53:41 -0700
From: David Ahern <dsahern@...nel.org>
To: Yuyang Huang <yuyanghuang@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
roopa@...ulusnetworks.com, jiri@...nulli.us, stephen@...workplumber.org,
jimictw@...gle.com, prohr@...gle.com, liuhangbin@...il.com,
nicolas.dichtel@...nd.com, andrew@...n.ch, netdev@...r.kernel.org,
Maciej Żenczykowski <maze@...gle.com>,
Lorenzo Colitti <lorenzo@...gle.com>
Subject: Re: [PATCH net-next, v3] netlink: add IPv6 anycast join/leave
notifications
On 1/7/25 4:43 AM, Yuyang Huang wrote:
> This change introduces a mechanism for notifying userspace
> applications about changes to IPv6 anycast addresses via netlink. It
> includes:
>
> * Addition and deletion of IPv6 anycast addresses are reported using
> RTM_NEWANYCAST and RTM_DELANYCAST.
> * A new netlink group (RTNLGRP_IPV6_ACADDR) for subscribing to these
> notifications.
>
> This enables user space applications(e.g. ip monitor) to efficiently
> track anycast addresses through netlink messages, improving metrics
> collection and system monitoring. It also unlocks the potential for
> advanced anycast management in user space, such as hardware offload
> control and fine grained network control.
>
> Cc: Maciej Żenczykowski <maze@...gle.com>
> Cc: Lorenzo Colitti <lorenzo@...gle.com>
> Signed-off-by: Yuyang Huang <yuyanghuang@...gle.com>
> ---
>
> Changelog since v2:
> - Remove unnecessary 0 initializations.
> - Remove unnecessary stack trace.
>
> Changelog since v1:
> - Resolve merge conflicts.
>
> include/net/addrconf.h | 3 +++
> include/uapi/linux/rtnetlink.h | 8 +++++++-
> net/ipv6/addrconf.c | 6 +++---
> net/ipv6/anycast.c | 35 ++++++++++++++++++++++++++++++++++
> 4 files changed, 48 insertions(+), 4 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists