]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7f61138504bb06dcbae38de1f08fea9324d0830
tree4396d9fa413aa9b8478decef3552542bbd3bee7d
parente1ee2c3b6a29c3dfb9427d0b4058679acb76911a
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