diff options
| author | Ido Schimmel <[email protected]> | 2017-08-02 09:56:04 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-02 17:00:23 -0700 |
| commit | 1353ee707362478527d54cd0b25d3ac17c47168d (patch) | |
| tree | 8c9d1da6969fff4f6c51f08ad6e1e61e146ddecc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3984d1a89fe7cba04cdcc6084dc1a2024f0190b6 (diff) | |
mlxsw: spectrum_router: Don't check state when refreshing offload indication
Previous patch removed the reliance on the counter in the FIB info to
set the offload indication, so we no longer need to keep an offload
state on each FIB entry and can just set or unset the RTNH_F_OFFLOAD
flag in each nexthop.
This is also necessary because we're going to need to refresh the
offload indication whenever the nexthop group associated with the FIB
entry is refreshed. Current check would prevent us from marking a newly
resolved nexthop as offloaded if the FIB entry is already marked as
offloaded.
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Tested-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions