netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next v2 0/5] mlxsw: Offload bridge device mrouter
@ 2017-10-09  9:15 Jiri Pirko
  2017-10-09  9:15 ` [patch net-next v2 1/5] net: bridge: Notify on bridge device mrouter state changes Jiri Pirko
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Jiri Pirko @ 2017-10-09  9:15 UTC (permalink / raw)
  To: netdev
  Cc: davem, yotamg, idosch, nogahf, mlxsw, ivecera, nikolay, andrew,
	stephen, nbd, roopa

From: Jiri Pirko <jiri@mellanox.com>

Yotam says:

Similarly to a bridged port, the bridge device itself can be configured by
the user to be an mrouter port. In this case, all multicast traffic should
be forwarded to it. Make the mlxsw Spectrum driver offload these directives
to the Spectrum hardware.

Patches 1 and 2 add a new switchdev notification for bridge device mrouter
port status and make the bridge module notify about it.

Patches 3-5 change the mlxsw Spectrum driver to handle these notifications
by adding the Spectrum router port to the bridge MDB entries.

---
v1->v2:
 - patch1:
   - Don't add the MDB_RTR_TYPE_TEMP state and use the timer_pending to
     distinguish between learning-on and learning-off states

Yotam Gigi (5):
  net: bridge: Notify on bridge device mrouter state changes
  net: bridge: Export bridge multicast router state
  mlxsw: spectrum: router: Export the mlxsw_sp_router_port function
  mlxsw: spectrum_switchdev: Add support for router port in SMID entries
  mlxsw: spectrum_switchdev: Support bridge mrouter notifications

 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  |  2 +-
 .../net/ethernet/mellanox/mlxsw/spectrum_router.h  |  1 +
 .../ethernet/mellanox/mlxsw/spectrum_switchdev.c   | 76 +++++++++++++++++++++-
 include/linux/if_bridge.h                          |  5 ++
 include/net/switchdev.h                            |  1 +
 net/bridge/br_multicast.c                          | 50 +++++++++++++-
 6 files changed, 128 insertions(+), 7 deletions(-)

-- 
2.9.5

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

end of thread, other threads:[~2017-10-09 17:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09  9:15 [patch net-next v2 0/5] mlxsw: Offload bridge device mrouter Jiri Pirko
2017-10-09  9:15 ` [patch net-next v2 1/5] net: bridge: Notify on bridge device mrouter state changes Jiri Pirko
2017-10-09 10:19   ` Ivan Vecera
2017-10-09 10:52   ` Nikolay Aleksandrov
2017-10-09  9:15 ` [patch net-next v2 2/5] net: bridge: Export bridge multicast router state Jiri Pirko
2017-10-09 10:19   ` Ivan Vecera
2017-10-09  9:15 ` [patch net-next v2 3/5] mlxsw: spectrum: router: Export the mlxsw_sp_router_port function Jiri Pirko
2017-10-09  9:15 ` [patch net-next v2 4/5] mlxsw: spectrum_switchdev: Add support for router port in SMID entries Jiri Pirko
2017-10-09  9:15 ` [patch net-next v2 5/5] mlxsw: spectrum_switchdev: Support bridge mrouter notifications Jiri Pirko
2017-10-09 17:18 ` [patch net-next v2 0/5] mlxsw: Offload bridge device mrouter David Miller

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).