Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c52 struct mlxsw_afk { struct
60 static bool mlxsw_afk_blocks_check(struct mlxsw_afk *mlxsw_afk) in mlxsw_afk_blocks_check() argument
65 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()
66 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i]; in mlxsw_afk_blocks_check()
84 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks, in mlxsw_afk_create()
87 struct mlxsw_afk *mlxsw_afk; in mlxsw_afk_create() local
89 mlxsw_afk = kzalloc(sizeof(*mlxsw_afk), GFP_KERNEL); in mlxsw_afk_create()
90 if (!mlxsw_afk) in mlxsw_afk_create()
92 INIT_LIST_HEAD(&mlxsw_afk->key_info_list); in mlxsw_afk_create()
93 mlxsw_afk->max_blocks = max_blocks; in mlxsw_afk_create()
[all …]
Dcore_acl_flex_keys.h185 struct mlxsw_afk;
194 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks,
196 void mlxsw_afk_destroy(struct mlxsw_afk *mlxsw_afk);
201 mlxsw_afk_key_info_get(struct mlxsw_afk *mlxsw_afk,
228 void mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk,
232 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.c228 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
478 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in __mlxsw_sp_acl_atcam_entry_add()
Dspectrum_acl.c26 struct mlxsw_afk *afk;
39 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_afk()
Dspectrum.h975 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl);
Dspectrum_acl_tcam.c776 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_tcam_vregion_create()