diff options
| author | Nogah Frankel <[email protected]> | 2017-02-09 14:54:47 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-10 11:46:40 -0500 |
| commit | 8ecd4591e7612a7ea5c67589cf1a7f18bd17ba14 (patch) | |
| tree | e7d2a7196afa312af9fa7379afd8a4a7ca7360ae /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 71c365bdc4396893798c8e1c9247663096ff4829 (diff) | |
mlxsw: spectrum: Add an option to flood mc by mc_router_port
The decision whether to flood a multicast packet to a port dependent
on three flags: mc_disabled, mc_router_port, mc_flood.
If mc_disabled is on, the port will be flooded according to mc_flood,
otherwise, according to mc_router_port. To accomplish that, add those
flags into the mlxsw_sp_port struct and update the mc flood table
accordingly.
Update mc_router_port by switchdev attribute
SWITCHDEV_ATTR_ID_PORT_MC_ROUTER_PORT.
Signed-off-by: Nogah Frankel <[email protected]>
Signed-off-by: Yotam Gigi <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions