Home
last modified time | relevance | path

Searched refs:ring_role (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_mrp.c171 if (mrp->ring_role != BR_MRP_RING_ROLE_MRC && !mrp->sw_backup) in ocelot_mrp_add_ring_role()
179 if (mrp->ring_role != BR_MRP_RING_ROLE_MRC) in ocelot_mrp_add_ring_role()
210 if (mrp->ring_role != BR_MRP_RING_ROLE_MRC && !mrp->sw_backup) in ocelot_mrp_del_ring_role()
/openbmc/linux/net/bridge/
H A Dbr_mrp.c212 if (mrp->ring_role == BR_MRP_RING_ROLE_MRA) { in br_mrp_alloc_test_skb()
680 mrp->ring_role = role->ring_role; in br_mrp_set_ring_role()
683 support = br_mrp_switchdev_set_ring_role(br, mrp, role->ring_role); in br_mrp_set_ring_role()
1054 if (mrp->ring_role == BR_MRP_RING_ROLE_MRM || in br_mrp_mrm_behaviour()
1055 (mrp->ring_role == BR_MRP_RING_ROLE_MRA && !mrp->test_monitor)) in br_mrp_mrm_behaviour()
1063 if (mrp->ring_role == BR_MRP_RING_ROLE_MRC || in br_mrp_mrc_behaviour()
1064 (mrp->ring_role == BR_MRP_RING_ROLE_MRA && mrp->test_monitor)) in br_mrp_mrc_behaviour()
1106 if (mrp->ring_role == BR_MRP_RING_ROLE_MRM) { in br_mrp_rcv()
1114 if (mrp->ring_role == BR_MRP_RING_ROLE_MRA) { in br_mrp_rcv()
H A Dbr_private_mrp.h23 enum br_mrp_ring_role_type ring_role; member
H A Dbr_mrp_netlink.c190 role.ring_role = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_ROLE_ROLE]); in br_mrp_ring_role_parse()
489 mrp->ring_role)) in br_mrp_fill_info()
H A Dbr_mrp_switchdev.c71 .ring_role = role, in br_mrp_switchdev_set_ring_role()
/openbmc/linux/include/uapi/linux/
H A Dif_bridge.h303 __u32 ring_role; member
/openbmc/linux/include/net/
H A Dswitchdev.h152 u8 ring_role; member