Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c12 struct mlxsw_afk { struct
20 static bool mlxsw_afk_blocks_check(struct mlxsw_afk *mlxsw_afk) in mlxsw_afk_blocks_check() argument
25 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()
26 const struct mlxsw_afk_block *block = &mlxsw_afk->blocks[i]; in mlxsw_afk_blocks_check()
42 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks, in mlxsw_afk_create()
45 struct mlxsw_afk *mlxsw_afk; in mlxsw_afk_create() local
47 mlxsw_afk = kzalloc(sizeof(*mlxsw_afk), GFP_KERNEL); in mlxsw_afk_create()
48 if (!mlxsw_afk) in mlxsw_afk_create()
50 INIT_LIST_HEAD(&mlxsw_afk->key_info_list); in mlxsw_afk_create()
51 mlxsw_afk->max_blocks = max_blocks; in mlxsw_afk_create()
[all …]
Dcore_acl_flex_keys.h204 struct mlxsw_afk;
213 struct mlxsw_afk *mlxsw_afk_create(unsigned int max_blocks,
215 void mlxsw_afk_destroy(struct mlxsw_afk *mlxsw_afk);
220 mlxsw_afk_key_info_get(struct mlxsw_afk *mlxsw_afk,
247 void mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk,
251 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.c24 struct mlxsw_afk *afk;
36 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl) in mlxsw_sp_acl_afk()
Dspectrum.h661 struct mlxsw_afk *mlxsw_sp_acl_afk(struct mlxsw_sp_acl *acl);
Dspectrum_acl_tcam.c800 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_tcam_vregion_create()