Home
last modified time | relevance | path

Searched refs:aregion (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c35 int (*init)(struct mlxsw_sp_acl_atcam_region *aregion);
36 void (*fini)(struct mlxsw_sp_acl_atcam_region *aregion);
38 (*lkey_id_get)(struct mlxsw_sp_acl_atcam_region *aregion,
40 void (*lkey_id_put)(struct mlxsw_sp_acl_atcam_region *aregion,
73 mlxsw_sp_acl_atcam_region_generic_init(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_atcam_region_generic_init() argument
82 aregion->priv = region_generic; in mlxsw_sp_acl_atcam_region_generic_init()
88 mlxsw_sp_acl_atcam_region_generic_fini(struct mlxsw_sp_acl_atcam_region *aregion) in mlxsw_sp_acl_atcam_region_generic_fini() argument
90 kfree(aregion->priv); in mlxsw_sp_acl_atcam_region_generic_fini()
94 mlxsw_sp_acl_atcam_generic_lkey_id_get(struct mlxsw_sp_acl_atcam_region *aregion, in mlxsw_sp_acl_atcam_generic_lkey_id_get() argument
99 region_generic = aregion->priv; in mlxsw_sp_acl_atcam_generic_lkey_id_get()
[all …]
Dspectrum_acl_erp.c59 struct mlxsw_sp_acl_atcam_region *aregion; member
136 struct mlxsw_sp_acl_atcam_region *aregion = erp_table->aregion; in mlxsw_sp_acl_erp_table_entry_size() local
139 return erp_core->erpt_entries_size[aregion->type]; in mlxsw_sp_acl_erp_table_entry_size()
183 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_master_mask_update()
392 key_size = (enum mlxsw_reg_perpt_key_size) erp_table->aregion->type; in mlxsw_sp_acl_erp_table_erp_add()
412 key_size = (enum mlxsw_reg_perpt_key_size) erp_table->aregion->type; in mlxsw_sp_acl_erp_table_erp_del()
425 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_table_enable()
440 struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; in mlxsw_sp_acl_erp_table_disable()
493 erp_table->aregion->type, in mlxsw_sp_acl_erp_table_expand()
508 erp_table->aregion->type, old_base_index); in mlxsw_sp_acl_erp_table_expand()
[all …]
Dspectrum_acl_tcam.h218 struct mlxsw_sp_acl_atcam_region *aregion,
222 void mlxsw_sp_acl_atcam_region_fini(struct mlxsw_sp_acl_atcam_region *aregion);
223 void mlxsw_sp_acl_atcam_chunk_init(struct mlxsw_sp_acl_atcam_region *aregion,
228 struct mlxsw_sp_acl_atcam_region *aregion,
233 struct mlxsw_sp_acl_atcam_region *aregion,
237 struct mlxsw_sp_acl_atcam_region *aregion,
245 mlxsw_sp_acl_atcam_rehash_hints_get(struct mlxsw_sp_acl_atcam_region *aregion);
265 mlxsw_sp_acl_erp_mask_get(struct mlxsw_sp_acl_atcam_region *aregion,
267 void mlxsw_sp_acl_erp_mask_put(struct mlxsw_sp_acl_atcam_region *aregion,
270 struct mlxsw_sp_acl_atcam_region *aregion,
[all …]
Dspectrum_acl_bloom_filter.c232 __mlxsw_sp_acl_bf_key_encode(struct mlxsw_sp_acl_atcam_region *aregion, in __mlxsw_sp_acl_bf_key_encode() argument
237 struct mlxsw_afk_key_info *key_info = aregion->region->key_info; in __mlxsw_sp_acl_bf_key_encode()
245 (aregion->region->id << 4)); in __mlxsw_sp_acl_bf_key_encode()
260 mlxsw_sp2_acl_bf_key_encode(struct mlxsw_sp_acl_atcam_region *aregion, in mlxsw_sp2_acl_bf_key_encode() argument
264 __mlxsw_sp_acl_bf_key_encode(aregion, aentry, output, len, in mlxsw_sp2_acl_bf_key_encode()
274 struct mlxsw_sp_acl_atcam_region *aregion, in mlxsw_sp2_acl_bf_index_get() argument
280 mlxsw_sp2_acl_bf_key_encode(aregion, aentry, bf_key, &bf_size); in mlxsw_sp2_acl_bf_index_get()
373 mlxsw_sp4_acl_bf_key_encode(struct mlxsw_sp_acl_atcam_region *aregion, in mlxsw_sp4_acl_bf_key_encode() argument
377 struct mlxsw_afk_key_info *key_info = aregion->region->key_info; in mlxsw_sp4_acl_bf_key_encode()
381 __mlxsw_sp_acl_bf_key_encode(aregion, aentry, output, len, in mlxsw_sp4_acl_bf_key_encode()
[all …]
Dspectrum2_acl_tcam.c17 struct mlxsw_sp_acl_atcam_region aregion; member
35 struct mlxsw_sp_acl_atcam_region *aregion; in mlxsw_sp2_acl_ctcam_region_entry_insert() local
39 aregion = mlxsw_sp_acl_tcam_cregion_aregion(cregion); in mlxsw_sp2_acl_ctcam_region_entry_insert()
42 erp_mask = mlxsw_sp_acl_erp_mask_get(aregion, mask, true); in mlxsw_sp2_acl_ctcam_region_entry_insert()
54 struct mlxsw_sp_acl_atcam_region *aregion; in mlxsw_sp2_acl_ctcam_region_entry_remove() local
57 aregion = mlxsw_sp_acl_tcam_cregion_aregion(cregion); in mlxsw_sp2_acl_ctcam_region_entry_remove()
60 mlxsw_sp_acl_erp_mask_put(aregion, aentry->erp_mask); in mlxsw_sp2_acl_ctcam_region_entry_remove()
161 &region->aregion, in mlxsw_sp2_acl_tcam_region_init()
171 mlxsw_sp_acl_atcam_region_fini(&region->aregion); in mlxsw_sp2_acl_tcam_region_fini()
185 return mlxsw_sp_acl_atcam_rehash_hints_get(&region->aregion); in mlxsw_sp2_acl_tcam_region_rehash_hints_get()
[all …]
/linux-5.19.10/include/trace/events/
Dmlxsw.h18 const struct mlxsw_sp_acl_atcam_region *aregion),
20 TP_ARGS(mlxsw_sp, aregion),
24 __field(const void *, aregion)
29 __entry->aregion = aregion;
33 __entry->mlxsw_sp, __entry->aregion)