diff options
author | Yotam Gigi <yotamg@mellanox.com> | 2017-10-03 09:58:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-03 10:06:30 -0700 |
commit | f60c254998de80feaec8e4122960ab64e8045214 (patch) | |
tree | b20a5d21cf2e7c9dc44de3bfb3788289ff6c32d3 /net/switchdev/switchdev.c | |
parent | 607feadef89ac806df5a0be983afef77247e1541 (diff) |
mlxsw: spectrum: mr: Support trap-and-forward routes
Add the support of trap-and-forward route action in the multicast routing
offloading logic. A route will be set to trap-and-forward action if one (or
more) of its output interfaces is not offload-able, i.e. does not have a
valid Spectrum RIF.
This way, a route with mixed output VIFs list, which contains both
offload-able and un-offload-able devices can go through partial offloading
in hardware, and the rest will be done in the kernel ipmr module.
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions