diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2020-11-17 20:47:01 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-18 22:51:18 +0300 |
| commit | 5b9954e1e7b839ac6a5a773cb498884dd4f947f1 (patch) | |
| tree | 8048f2fd438e08a0d009e19e2a7192d009aa5072 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c0351b7c25ffd52408c1297fbe552f185d5aac3f (diff) | |
| download | linux-5b9954e1e7b839ac6a5a773cb498884dd4f947f1.tar.xz | |
mlxsw: spectrum_router: Re-order mlxsw_sp_nexthop6_group_get()
Attach the FIB entry to the nexthop group after setting the offload flag
on the IPv6 FIB info (i.e., 'struct fib6_info'). The second operation is
not needed when the nexthop group is a nexthop object. This will allow
us to have a common exit path from the function, regardless of the
nexthop group's type.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
