[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250923072213.GB836419@horms.kernel.org>
Date: Tue, 23 Sep 2025 08:22:13 +0100
From: Simon Horman <horms@...nel.org>
To: Jan Vaclav <jvaclav@...hat.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net/hsr: add protocol version to fill_info
output
On Mon, Sep 22, 2025 at 11:37:45AM +0200, Jan Vaclav wrote:
> Currently, it is possible to configure IFLA_HSR_VERSION, but
> there is no way to check in userspace what the currently
> configured HSR protocol version is.
>
> Add it to the output of hsr_fill_info().
>
> This info could then be used by e.g. ip(8), like so:
> $ ip -d link show hsr0
> 12: hsr0: <BROADCAST,MULTICAST> mtu ...
> ...
> hsr slave1 veth0 slave2 veth1 ... proto 0 version 1
>
> Signed-off-by: Jan Vaclav <jvaclav@...hat.com>
> ---
> v2: Added an example to the commit message to show
> how userspace programs could use this property.
>
> v1: https://lore.kernel.org/netdev/20250918125337.111641-2-jvaclav@redhat.com/
Hi Jan,
thanks for the update.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists