diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-07-08 10:00:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-08 17:05:19 +0900 |
commit | d4b0d20fec47c95a2bbd2c7d82dc72e59364faae (patch) | |
tree | 16c9ffad5c24150796276360963b7118eeb322e4 /drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | |
parent | 0dbc81eab4d13f6d295da69c00e6efee2427b55c (diff) | |
download | linux-stable-d4b0d20fec47c95a2bbd2c7d82dc72e59364faae.tar.gz linux-stable-d4b0d20fec47c95a2bbd2c7d82dc72e59364faae.tar.bz2 linux-stable-d4b0d20fec47c95a2bbd2c7d82dc72e59364faae.zip |
mlxsw: spectrum: Change name of mlxsw_sp_afk_blocks to mlxsw_sp1_afk_blocks
This is specific for Spectrum as Spectrum-2 has completely different key
blocks.
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c index 79b1fa27a9a4..da93b7fbb836 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c @@ -837,8 +837,8 @@ int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp) acl->mlxsw_sp = mlxsw_sp; acl->afk = mlxsw_afk_create(MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_FLEX_KEYS), - mlxsw_sp_afk_blocks, - MLXSW_SP_AFK_BLOCKS_COUNT); + mlxsw_sp1_afk_blocks, + MLXSW_SP1_AFK_BLOCKS_COUNT); if (!acl->afk) { err = -ENOMEM; goto err_afk_create; |