mlxsw: spectrum_acl: Reshuffle code around mlxsw_sp_acl_ruleset_create/destroy
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 Jan 2018 10:46:54 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 19:53:57 +0000 (14:53 -0500)
commit9fe5fdf27e543c340d97f69f379bcd29a59f5723
treeffbfa9fbdeba35c76db9b868126f21002d5a9a37
parent51ab2994c387c80b45caf8b8067b3f3b97771d25
mlxsw: spectrum_acl: Reshuffle code around mlxsw_sp_acl_ruleset_create/destroy

In order to prepare for follow-up changes, make the bind/unbind helpers
very simple. That required move of ht insertion/removal and bind/unbind
calls into mlxsw_sp_acl_ruleset_create/destroy.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c