bridge: mrp: Extend bridge interface
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 14 Jul 2020 07:34:49 +0000 (09:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 20:46:42 +0000 (13:46 -0700)
This patch adds a new flag(BR_MRP_LOST_IN_CONT) to the net bridge
ports. This bit will be set when the port lost the continuity of
MRP_InTest frames.

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/linux/if_bridge.h

index b3a8d30..6479a38 100644 (file)
@@ -49,6 +49,7 @@ struct br_ip_list {
 #define BR_ISOLATED            BIT(16)
 #define BR_MRP_AWARE           BIT(17)
 #define BR_MRP_LOST_CONT       BIT(18)
+#define BR_MRP_LOST_IN_CONT    BIT(19)
 
 #define BR_DEFAULT_AGEING_TIME (300 * HZ)