bridge: mrp: Set the priority of MRP instance
Each MRP instance has a priority, a lower value means a higher priority. The priority of MRP instance is stored in MRP_Test frame in this way all the MRP nodes in the ring can see other nodes priority. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
7e89ed8ab3
commit
4b3a61b030
@@ -116,6 +116,7 @@ struct switchdev_obj_mrp {
|
||||
struct net_device *p_port;
|
||||
struct net_device *s_port;
|
||||
u32 ring_id;
|
||||
u16 prio;
|
||||
};
|
||||
|
||||
#define SWITCHDEV_OBJ_MRP(OBJ) \
|
||||
|
Reference in New Issue
Block a user