diff options
| author | Benjamin Poirier <bpoirier@nvidia.com> | 2023-07-19 16:57:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-21 06:23:20 +0300 |
| commit | eedd47a6ec9f683f0b8d931aacca81985be55eec (patch) | |
| tree | 3b086665931e2efb22500f99aaaa651bb0240eff /include/linux/task_work.h | |
| parent | 022add1d73f14f021e0e0aa91304b83ad7169398 (diff) | |
| download | linux-eedd47a6ec9f683f0b8d931aacca81985be55eec.tar.xz | |
nexthop: Factor out hash threshold fdb nexthop selection
The loop in nexthop_select_path_hthr() includes code to check for neighbor
validity. Since this does not apply to fdb nexthops, simplify the loop by
moving the fdb nexthop selection to its own function.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230719-nh_select-v2-1-04383e89f868@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions
