]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: uapi: mrp: Extend MRP attributes to get the status
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Thu, 2 Jul 2020 08:13:05 +0000 (10:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jul 2020 21:19:15 +0000 (14:19 -0700)
commite8f5f76bce4062ed007e693008024623c711e8b1
tree3069c6712087fab46ddd3a5bdfbc2295e3ee2bc0
parentaf8a9ed4948b080a7c2ef8abc9e4c7a0685e0d65
bridge: uapi: mrp: Extend MRP attributes to get the status

Add MRP attribute IFLA_BRIDGE_MRP_INFO to allow the userspace to get the
current state of the MRP instances. This is a nested attribute that
contains other attributes like, ring id, index of primary and secondary
port, priority, ring state, ring role.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_bridge.h