netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: bridge: add support for backup port
@ 2018-07-20 14:48 Nikolay Aleksandrov
  2018-07-20 14:48 ` [PATCH net-next 1/2] net: bridge: add support for raw sysfs port options Nikolay Aleksandrov
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Nikolay Aleksandrov @ 2018-07-20 14:48 UTC (permalink / raw)
  To: netdev; +Cc: roopa, anuradhak, stephen, bridge, wkok, davem,
	Nikolay Aleksandrov

Hi,
This set introduces a new bridge port option that allows any port to have
any other port (in the same bridge of course) as its backup and traffic
will be forwarded to the backup port when the primary goes down. This is
mainly used in MLAG and EVPN setups where we have peerlink path which is
a backup of many (or even all) ports and is a participating bridge port
itself. There's more detailed information in patch 02. Patch 01 just
prepares the port sysfs code for options that take raw value. The main
issues that this set solves are scalability and fallback latency.

We have used similar code for over 6 months now to bring the fallback
latency of the backup peerlink down and avoid fdb notification storms.
Also due to the nature of master devices such setup is currently not
possible, and last but not least having tens of thousands of fdbs require
thousands of calls to switch.

I've also CCed our MLAG experts that have been using similar option.

Thanks,
 Nik


Nikolay Aleksandrov (2):
  net: bridge: add support for raw sysfs port options
  net: bridge: add support for backup port

 include/uapi/linux/if_link.h |  1 +
 net/bridge/br_forward.c      | 16 ++++++++-
 net/bridge/br_if.c           | 53 ++++++++++++++++++++++++++++
 net/bridge/br_netlink.c      | 30 +++++++++++++++-
 net/bridge/br_private.h      |  3 ++
 net/bridge/br_sysfs_if.c     | 82 ++++++++++++++++++++++++++++++++++++--------
 6 files changed, 168 insertions(+), 17 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-07-23  8:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-20 14:48 [PATCH net-next 0/2] net: bridge: add support for backup port Nikolay Aleksandrov
2018-07-20 14:48 ` [PATCH net-next 1/2] net: bridge: add support for raw sysfs port options Nikolay Aleksandrov
2018-07-20 15:57   ` Stephen Hemminger
2018-07-20 17:14     ` Nikolay Aleksandrov
2018-07-20 17:20       ` Stephen Hemminger
2018-07-20 17:26         ` Nikolay Aleksandrov
2018-07-20 17:47           ` Nikolay Aleksandrov
2018-07-20 21:14             ` Stephen Hemminger
2018-07-22  6:27   ` David Miller
2018-07-22  7:41     ` Nikolay Aleksandrov
2018-07-20 14:48 ` [PATCH net-next 2/2] net: bridge: add support for backup port Nikolay Aleksandrov
2018-07-20 16:02   ` Stephen Hemminger
2018-07-20 16:41     ` Roopa Prabhu
2018-07-23  6:15       ` Toshiaki Makita
2018-07-23  8:03         ` Nikolay Aleksandrov
2018-07-20 15:22 ` [PATCH net-next 0/2] " Stephen Hemminger
2018-07-20 15:26   ` Nikolay Aleksandrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).