Home
last modified time | relevance | path

Searched refs:num_erp_banks (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c29 unsigned int num_erp_banks; member
130 return erp->index % erp->erp_table->erp_core->num_erp_banks; in mlxsw_sp_acl_erp_bank_get()
306 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()
310 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()
332 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()
377 *p_erpt_bank = erp->index % erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_locate()
378 row = erp->index / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_locate()
491 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()
572 err = mlxsw_sp_acl_erp_table_alloc(erp_core, erp_core->num_erp_banks, in mlxsw_sp_acl_erp_region_table_trans()
577 erp_table->num_max_atcam_erps = erp_core->num_erp_banks; in mlxsw_sp_acl_erp_region_table_trans()
[all …]
Dspectrum_acl_bloom_filter.c487 mlxsw_sp_acl_bf_init(struct mlxsw_sp *mlxsw_sp, unsigned int num_erp_banks) in mlxsw_sp_acl_bf_init() argument
499 bf = kzalloc(struct_size(bf, refcnt, bf_bank_size * num_erp_banks), in mlxsw_sp_acl_bf_init()
Dspectrum_acl_tcam.h309 mlxsw_sp_acl_bf_init(struct mlxsw_sp *mlxsw_sp, unsigned int num_erp_banks);