lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 9 Oct 2017 11:15:30 +0200 From: Jiri Pirko <jiri@...nulli.us> To: netdev@...r.kernel.org Cc: davem@...emloft.net, yotamg@...lanox.com, idosch@...lanox.com, nogahf@...lanox.com, mlxsw@...lanox.com, ivecera@...hat.com, nikolay@...ulusnetworks.com, andrew@...n.ch, stephen@...workplumber.org, nbd@....name, roopa@...ulusnetworks.com Subject: [patch net-next v2 0/5] mlxsw: Offload bridge device mrouter From: Jiri Pirko <jiri@...lanox.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
Powered by blists - more mailing lists