]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Pass the ingress indication down to flex action
authorJiri Pirko <jiri@mellanox.com>
Mon, 24 Feb 2020 07:35:50 +0000 (08:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 19:55:07 +0000 (11:55 -0800)
commit3b64fe8787d51425ee5f8e19f9b92d11cd0d76bf
tree9fd248bca39660d1598085b6b50207b792f9caee
parent0eb9df9906d5c18700dd0233522b32b76b2d1454
mlxsw: spectrum_acl: Pass the ingress indication down to flex action

The ACL flex action will have to know if it is in ingress or egress,
so it can use correct trap ID. Pass the ingress indication down to it.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c