diff options
| author | Petr Machata <petrm@mellanox.com> | 2017-09-02 23:49:20 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-09-03 20:23:25 -0700 |
| commit | 9b01451ad5fe09d95aea9cfd5b36cde574651ab4 (patch) | |
| tree | 401f30b8fbb8ca1514538dc170711a4bcb870e32 /tools/perf/scripts/python | |
| parent | mlxsw: spectrum_router: Introduce loopback RIFs (diff) | |
| download | linux-9b01451ad5fe09d95aea9cfd5b36cde574651ab4.tar.gz linux-9b01451ad5fe09d95aea9cfd5b36cde574651ab4.zip | |
mlxsw: spectrum_router: Extract mlxsw_sp_fi_is_gateway()
For IPv4 IP-in-IP offload, routes that direct traffic to IP-in-IP
devices need to be considered gateway routes as well. That involves a
bit more logic, so extract the current test to a separate function,
where the logic can be later added.
Signed-off-by: Petr Machata <petrm@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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
