mlxsw: spectrum: Extend mlxsw_afa_ops for counter index and implement for Spectrum
authorJiri Pirko <jiri@mellanox.com>
Fri, 19 Jan 2018 08:24:46 +0000 (09:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jan 2018 23:21:30 +0000 (18:21 -0500)
commit4c6b7f6307d46ca3dcb8a32975fe68d153832176
treeebc2290d6e6216720f54c87dd8fff84d71090b5b
parent65b342f15bb9c01d025c60d44a8035d7696416b8
mlxsw: spectrum: Extend mlxsw_afa_ops for counter index and implement for Spectrum

Introduce extension of mlxsw_afa_ops in order to get/put counter indexes
and implement the ops for Spectrum.

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