Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c304 unsigned int num_erps, in mlxsw_sp_acl_erp_table_alloc() argument
311 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()
315 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()
327 unsigned int num_erps, in mlxsw_sp_acl_erp_table_free() argument
337 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()
484 unsigned int num_erps, old_num_erps = erp_table->num_max_atcam_erps; in mlxsw_sp_acl_erp_table_expand() local
496 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()
497 err = mlxsw_sp_acl_erp_table_alloc(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()
502 erp_table->num_max_atcam_erps = num_erps; in mlxsw_sp_acl_erp_table_expand()
520 mlxsw_sp_acl_erp_table_free(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()