mlxsw: spectrum_acl: Pass mlxsw_sp_port down to ruleset bind/unbind ops
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 Jan 2018 10:46:57 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 19:53:58 +0000 (14:53 -0500)
commit4b23258d6a1b0040c1e7d2d997800cfd09294b7f
tree4396d9fa413aa9b8478decef3552542bbd3bee7d
parent3aaff323044e221b7233eddcc2fe094c662df3b0
mlxsw: spectrum_acl: Pass mlxsw_sp_port down to ruleset bind/unbind ops

No need to convert from mlxsw_sp_port to net_device and back again.

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.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c