mbox series

[v2,0/3] bridge: mrp: Add br_mrp_unique_ifindex function

Message ID 20200521231907.3564679-1-horatiu.vultur@microchip.com
Headers show
Series bridge: mrp: Add br_mrp_unique_ifindex function | expand

Message

Horatiu Vultur May 21, 2020, 11:19 p.m. UTC
This patch series adds small fixes to MRP implementation.
The following are fixed in this patch series:
- now is not allow to add the same port to multiple MRP rings
- remove unused variable
- restore the port state according to the bridge state when the MRP instance
  is deleted

v2:
 - use rtnl_dereference instead of rcu_dereference in the first patch

Horatiu Vultur (3):
  bridge: mrp: Add br_mrp_unique_ifindex function
  switchdev: mrp: Remove the variable mrp_ring_state
  bridge: mrp: Restore port state when deleting MRP instance

 include/net/switchdev.h |  1 -
 net/bridge/br_mrp.c     | 38 ++++++++++++++++++++++++++++++++++----
 2 files changed, 34 insertions(+), 5 deletions(-)