diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-03 10:29:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-03 16:35:41 -0500 |
commit | 4cda7d8d7098e2b2c2c496ffb77b18f8b685e80d (patch) | |
tree | 77efa36429fa76952bf0c383d97b3da1c2907f00 /arch/powerpc | |
parent | 3f1a84e6962c7fd0703b9bb5db0355d1c28b201a (diff) |
mlxsw: core: Introduce flexible actions support
Each entry which is matched during ACL lookup points to an action set.
This action set contains up to three separate actions. If more actions
are needed to be chained, the extended set is created to hold them
in KVD linear area.
This patch implements handling of sets and encoding of actions.
Currectly, only two actions are supported. Drop and forward. Forward
action uses PBS pointer to KVD linear area, so the action code needs to
take care of this as well.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions