mlxsw: spectrum_acl: Provide helper to lookup ruleset
authorJiri Pirko <jiri@mellanox.com>
Wed, 23 Aug 2017 08:08:21 +0000 (10:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:44:32 +0000 (20:44 -0700)
commitdbec8ee95ab3ed231cba59f452531d6ce01fe24f
tree33763a5dcd5273e24f5d688e17644d874de85797
parent0ade3b6457b5535548c2bdad44b5bde6ebd1b7e2
mlxsw: spectrum_acl: Provide helper to lookup ruleset

We need to lookup ruleset in order to offload goto_chain termination
action. This patch adds 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