Home
last modified time | relevance | path

Searched refs:mlxsw_afk (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c47 struct mlxsw_afk { struct
55 static bool mlxsw_afk_blocks_check(struct mlxsw_afk *mlxsw_afk) in mlxsw_afk_blocks_check() argument
60 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()
61 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i]; in mlxsw_afk_blocks_check()
79 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks, in mlxsw_afk_create()
82 struct mlxsw_afk *mlxsw_afk; in mlxsw_afk_create() local
84 mlxsw_afk = kzalloc(sizeof(*mlxsw_afk), GFP_KERNEL); in mlxsw_afk_create()
85 if (!mlxsw_afk) in mlxsw_afk_create()
87 INIT_LIST_HEAD(&mlxsw_afk->key_info_list); in mlxsw_afk_create()
88 mlxsw_afk->max_blocks = max_blocks; in mlxsw_afk_create()
[all …]
Dcore_acl_flex_keys.h172 struct mlxsw_afk;
181 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks,
183 void mlxsw_afk_destroy(struct mlxsw_afk *mlxsw_afk);
188 mlxsw_afk_key_info_get(struct mlxsw_afk *mlxsw_afk,
215 void mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk,
219 void mlxsw_afk_clear(struct mlxsw_afk *mlxsw_afk, char *key,
Dspectrum_acl_ctcam.c47 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_ctcam_region_entry_insert()
Dspectrum_acl_atcam.c230 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
479 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in __mlxsw_sp_acl_atcam_entry_add()
Dspectrum_acl.c25 struct mlxsw_afk *afk;
38 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_afk()
Dspectrum.h852 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl);
Dspectrum_acl_tcam.c822 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_tcam_vregion_create()