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)
commite4266b991fead8eb996688e82ff39f6cc59ef7dd
tree3069c6712087fab46ddd3a5bdfbc2295e3ee2bc0
parent23212a70077311396cda2823d627317c25e6e5d1
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