Home
last modified time | relevance | path

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

/linux-6.6.21/net/bridge/
Dbr_mrp_switchdev.c68 struct switchdev_obj_ring_role_mrp mrp_role = { in br_mrp_switchdev_set_ring_role() local
81 support = br_mrp_switchdev_port_obj(br, &mrp_role.obj, in br_mrp_switchdev_set_ring_role()
89 mrp_role.sw_backup = true; in br_mrp_switchdev_set_ring_role()
91 err = switchdev_port_obj_add(br->dev, &mrp_role.obj, NULL); in br_mrp_switchdev_set_ring_role()
93 err = switchdev_port_obj_del(br->dev, &mrp_role.obj); in br_mrp_switchdev_set_ring_role()
144 struct switchdev_obj_in_role_mrp mrp_role = { in br_mrp_switchdev_set_in_role() local
159 support = br_mrp_switchdev_port_obj(br, &mrp_role.obj, in br_mrp_switchdev_set_in_role()
167 mrp_role.sw_backup = true; in br_mrp_switchdev_set_in_role()
169 err = switchdev_port_obj_add(br->dev, &mrp_role.obj, NULL); in br_mrp_switchdev_set_in_role()
171 err = switchdev_port_obj_del(br->dev, &mrp_role.obj); in br_mrp_switchdev_set_in_role()