diff options
author | Petr Machata <petrm@nvidia.com> | 2021-03-11 21:03:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-12 03:12:59 +0300 |
commit | 90e1a9e21326887fe0aef6c25ad36464953a961e (patch) | |
tree | 66540872b44b9ded00cfecaff857fe9c91fa4a95 /include/net/rsi_91x.h | |
parent | 96a856256a43b88202f2ac8933092940146102ed (diff) | |
download | linux-90e1a9e21326887fe0aef6c25ad36464953a961e.tar.xz |
nexthop: Add a dedicated flag for multipath next-hop groups
With the introduction of resilient nexthop groups, there will be two types
of multipath groups: the current hash-threshold "mpath" ones, and resilient
groups. Both are multipath, but to determine the fact, the system needs to
consider two flags. This might prove costly in the datapath. Therefore,
introduce a new flag, that should be set for next-hop groups that have more
than one nexthop, and should be considered multipath.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rsi_91x.h')
0 files changed, 0 insertions, 0 deletions