mlxsw: spectrum_acl: Allow to get group_id value for a ruleset
commit0ade3b6457b5535548c2bdad44b5bde6ebd1b7e2
authorJiri Pirko <jiri@mellanox.com>
Wed, 23 Aug 2017 08:08:20 +0000 (23 10:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:44:32 +0000 (23 20:44 -0700)
tree13ace7db3be2cb1389be2176143568c2a9a41606
parente457d86ada27cbd2f46ded75d4b4bc06e26d0e2e
mlxsw: spectrum_acl: Allow to get group_id value for a ruleset

For goto_chain action we need to know group_id of a ruleset to jump to.
Provide infrastructure in order to get it.

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