aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorJan Vaclav <jvaclav@redhat.com>2025-10-09 23:09:08 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-10-14 15:09:01 +0200
commit16a2206354d169bfd13552ad577e07ce66e439ab (patch)
tree53e64e1f8ed87277ecb945a0b7a2e8e9e23a3e76 /net/bridge
parent53615ad26e9789bfcdf3a4dccbcecb15294ea024 (diff)
downloadnet-16a2206354d169bfd13552ad577e07ce66e439ab.tar.gz
net/hsr: add protocol version to fill_info output
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(), when the interface is using the HSR protocol. Let's not expose it when using the PRP protocol, since it only has one version and it's not possible to set it from userspace. 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 Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de> Signed-off-by: Jan Vaclav <jvaclav@redhat.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20251009210903.1055187-6-jvaclav@redhat.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions