]> 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)
commit5cea3ce986fa5e8c83fdb3fb1fbfbc29f1d6f4f5
treeac02316a8f6fcffa4a7679ac7e6e355734917a3b
parent95765dc4b29d61536daa0cdf4effbf6ae2b99b60
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