Home
last modified time | relevance | path

Searched refs:erp_core (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c58 struct mlxsw_sp_acl_erp_core *erp_core; member
130 return erp->index % erp->erp_table->erp_core->num_erp_banks; in mlxsw_sp_acl_erp_bank_get()
137 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; 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()
298 mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, in mlxsw_sp_acl_erp_table_alloc() argument
307 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()
310 entry_size = erp_core->erpt_entries_size[region_type]; in mlxsw_sp_acl_erp_table_alloc()
311 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()
313 index = gen_pool_alloc(erp_core in mlxsw_sp_acl_erp_table_alloc()
323 mlxsw_sp_acl_erp_table_free(struct mlxsw_sp_acl_erp_core *erp_core, unsigned int num_erps, enum mlxsw_sp_acl_atcam_region_type region_type, unsigned long index) mlxsw_sp_acl_erp_table_free() argument
376 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_table_locate() local
482 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_table_expand() local
569 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_region_table_trans() local
630 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_region_master_mask_trans() local
1481 mlxsw_sp_acl_erp_tables_sizes_query(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_erp_core *erp_core) mlxsw_sp_acl_erp_tables_sizes_query() argument
1507 mlxsw_sp_acl_erp_tables_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_erp_core *erp_core) mlxsw_sp_acl_erp_tables_init() argument
1553 mlxsw_sp_acl_erp_tables_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_erp_core *erp_core) mlxsw_sp_acl_erp_tables_fini() argument
1563 struct mlxsw_sp_acl_erp_core *erp_core; mlxsw_sp_acl_erps_init() local
[all...]
H A Dspectrum_acl_tcam.h158 struct mlxsw_sp_acl_erp_core *erp_core; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c58 struct mlxsw_sp_acl_erp_core *erp_core; member
130 return erp->index % erp->erp_table->erp_core->num_erp_banks; in mlxsw_sp_acl_erp_bank_get()
137 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; 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()
298 mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, in mlxsw_sp_acl_erp_table_alloc() argument
307 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()
310 entry_size = erp_core->erpt_entries_size[region_type]; in mlxsw_sp_acl_erp_table_alloc()
311 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()
313 index = gen_pool_alloc(erp_core in mlxsw_sp_acl_erp_table_alloc()
323 mlxsw_sp_acl_erp_table_free(struct mlxsw_sp_acl_erp_core *erp_core, unsigned int num_erps, enum mlxsw_sp_acl_atcam_region_type region_type, unsigned long index) mlxsw_sp_acl_erp_table_free() argument
376 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_table_locate() local
482 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_table_expand() local
569 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_region_table_trans() local
630 struct mlxsw_sp_acl_erp_core *erp_core = erp_table->erp_core; mlxsw_sp_acl_erp_region_master_mask_trans() local
1494 mlxsw_sp_acl_erp_tables_sizes_query(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_erp_core *erp_core) mlxsw_sp_acl_erp_tables_sizes_query() argument
1520 mlxsw_sp_acl_erp_tables_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_erp_core *erp_core) mlxsw_sp_acl_erp_tables_init() argument
1566 mlxsw_sp_acl_erp_tables_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_erp_core *erp_core) mlxsw_sp_acl_erp_tables_fini() argument
1576 struct mlxsw_sp_acl_erp_core *erp_core; mlxsw_sp_acl_erps_init() local
[all...]
H A Dspectrum_acl_tcam.h153 struct mlxsw_sp_acl_erp_core *erp_core; member

Completed in 6 milliseconds