mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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:
parent
7e89ed8ab3
commit
4b3a61b030
6 changed files with 12 additions and 1 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue