diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2021-03-22 17:58:46 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-22 13:45:46 -0700 |
| commit | 031d5c16065606efc387aa6865690037c13cefc4 (patch) | |
| tree | a56be5f0226bdb80c5b2451f809ba36743794112 /lib/string_helpers.c | |
| parent | 248136fa251abfbd862194175977afd57ab5e760 (diff) | |
mlxsw: spectrum_router: Introduce nexthop action field
Currently, the action associated with the nexthop is assumed to be
'forward' unless the 'discard' bit is set.
Instead, simplify this by introducing a dedicated field to represent the
action of the nexthop. This will allow us to more easily introduce more
actions, such as trap.
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
