Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c299 unsigned int num_erps, in mlxsw_sp_acl_erp_table_alloc() argument
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()
322 unsigned int num_erps, in mlxsw_sp_acl_erp_table_free() argument
332 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()
479 unsigned int num_erps, old_num_erps = erp_table->num_max_atcam_erps; in mlxsw_sp_acl_erp_table_expand() local
491 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()
492 err = mlxsw_sp_acl_erp_table_alloc(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()
497 erp_table->num_max_atcam_erps = num_erps; in mlxsw_sp_acl_erp_table_expand()
515 mlxsw_sp_acl_erp_table_free(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()