mlxsw: spectrum: Put pointer to flex action ops to mlxsw_sp
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 07:00:19 +0000 (10:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jul 2018 08:05:19 +0000 (17:05 +0900)
commit9dbab6f588ebc9b6f741f926dc06878cba4f6c77
treef44aeae3cce93deffffccbc25429d8fc37a9c28e
parent82b63bcf8c2414d6f445830f2076da5ef4a1ba25
mlxsw: spectrum: Put pointer to flex action ops to mlxsw_sp

Spectrum-2 need a slightly different handling of flexible actions. So
put an ops pointer in mlxsw_sp struct and rename it.

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