]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core_acl_flex_actions: Allow the first set to be dummy
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 07:00:20 +0000 (10:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jul 2018 08:05:19 +0000 (17:05 +0900)
commit8feb09281f637e6a0792c38a7b7c5815dd01b0db
treeac02316a8f6fcffa4a7679ac7e6e355734917a3b
parent5dbd37b9a4da80cc17da1cf2298c277a7284ce76
mlxsw: core_acl_flex_actions: Allow the first set to be dummy

In Spectrum-2, the real action sets are always in KVD linear. The first
set is always empty and contains only pointer to the first real set in
KVD linear. So provide possibility to specify the first set is the dummy
one.

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