]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-Offload-bridge-device-mrouter'
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:18:12 +0000 (10:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:18:12 +0000 (10:18 -0700)
commita30f87c5afe98355eb1882d06bea3e063415a2dc
tree7dbb7fb51d137a8f01d30c72352fe1c4c028be75
parent5b01fe248299819237b053fa71475df953671b96
parent73cc16561ab101232a38aa5bc97297094735b296
Merge branch 'mlxsw-Offload-bridge-device-mrouter'

Jiri Pirko says:

====================
mlxsw: Offload bridge device mrouter

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>