diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2021-03-22 18:58:43 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-22 23:45:46 +0300 |
| commit | 26df5acc275b8b5fb14de1301feed6697f2433cf (patch) | |
| tree | 8a15c2b26b85a9dc0d2db7265384d7faf3f0d720 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 08c99b92d76c5bb0208cf89cafd502bdb3b2c98c (diff) | |
| download | linux-26df5acc275b8b5fb14de1301feed6697f2433cf.tar.xz | |
mlxsw: spectrum_router: Consolidate nexthop helpers
The helper mlxsw_sp_nexthop_offload() is actually interested in finding
out if the nexthop is both written to the adjacency table and forwarding
packets (as opposed to discarding them).
Rename it to mlxsw_sp_nexthop_is_forward() and remove
mlxsw_sp_nexthop_is_discard().
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
