commit | 031d5c16065606efc387aa6865690037c13cefc4 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@nvidia.com> | Mon Mar 22 17:58:46 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 22 13:45:46 2021 -0700 |
tree | a56be5f0226bdb80c5b2451f809ba36743794112 | |
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>