]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dbd37b9a4da80cc17da1cf2298c277a7284ce76
treef44aeae3cce93deffffccbc25429d8fc37a9c28e
parentf89838cacb2b63a016ea29062827f24d11fa3bb1
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