Re: [PATCH 1/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-21 Thread Horatiu Vultur
The 05/21/2020 19:58, Nikolay Aleksandrov wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 21/05/2020 21:49, Horatiu Vultur wrote: > > The 05/21/2020 11:16, Nikolay Aleksandrov wrote: > >> On 20/05/2020 16:09, Horatiu Vultur wrote: >

Re: [PATCH 1/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-21 Thread Nikolay Aleksandrov
On 21/05/2020 21:49, Horatiu Vultur wrote: > The 05/21/2020 11:16, Nikolay Aleksandrov wrote: >> On 20/05/2020 16:09, Horatiu Vultur wrote: >>> It is not allow to have the same net bridge port part of multiple MRP >>> rings. Therefore add a check if the port is used already in a different >>> MRP.

Re: [PATCH 1/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-21 Thread Horatiu Vultur
The 05/21/2020 11:16, Nikolay Aleksandrov wrote: > On 20/05/2020 16:09, Horatiu Vultur wrote: > > It is not allow to have the same net bridge port part of multiple MRP > > rings. Therefore add a check if the port is used already in a different > > MRP. In that case return failure. > > > > Fixes:

Re: [PATCH 1/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-21 Thread Nikolay Aleksandrov
On 20/05/2020 16:09, Horatiu Vultur wrote: > It is not allow to have the same net bridge port part of multiple MRP > rings. Therefore add a check if the port is used already in a different > MRP. In that case return failure. > > Fixes: 9a9f26e8f7ea ("bridge: mrp: Connect MRP API with the

[PATCH 1/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-20 Thread Horatiu Vultur
It is not allow to have the same net bridge port part of multiple MRP rings. Therefore add a check if the port is used already in a different MRP. In that case return failure. Fixes: 9a9f26e8f7ea ("bridge: mrp: Connect MRP API with the switchdev API") Signed-off-by: Horatiu Vultur ---