]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 b3a8d3054af0f3fad0256bacf1250c9991b3e126..6479a38e52fa9d23efb350b42a60d379995ba519 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)