Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c299 unsigned int num_erps, in mlxsw_sp_acl_erp_table_alloc()
307 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()
311 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()
324 unsigned int num_erps, in mlxsw_sp_acl_erp_table_free()
334 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()
481 unsigned int num_erps, old_num_erps = erp_table->num_max_atcam_erps; in mlxsw_sp_acl_erp_table_expand() local
493 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()
494 err = mlxsw_sp_acl_erp_table_alloc(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()
499 erp_table->num_max_atcam_erps = num_erps; in mlxsw_sp_acl_erp_table_expand()
517 mlxsw_sp_acl_erp_table_free(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()
298 mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, unsigned int num_erps, enum mlxsw_sp_acl_atcam_region_type region_type, unsigned long *p_index) mlxsw_sp_acl_erp_table_alloc() argument
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
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c299 unsigned int num_erps, in mlxsw_sp_acl_erp_table_alloc()
307 if (num_erps % erp_core->num_erp_banks != 0) in mlxsw_sp_acl_erp_table_alloc()
311 num_rows = num_erps / erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_alloc()
324 unsigned int num_erps, in mlxsw_sp_acl_erp_table_free()
334 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free()
481 unsigned int num_erps, old_num_erps = erp_table->num_max_atcam_erps; in mlxsw_sp_acl_erp_table_expand() local
493 num_erps = old_num_erps + erp_core->num_erp_banks; in mlxsw_sp_acl_erp_table_expand()
494 err = mlxsw_sp_acl_erp_table_alloc(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()
499 erp_table->num_max_atcam_erps = num_erps; in mlxsw_sp_acl_erp_table_expand()
517 mlxsw_sp_acl_erp_table_free(erp_core, num_erps, in mlxsw_sp_acl_erp_table_expand()
298 mlxsw_sp_acl_erp_table_alloc(struct mlxsw_sp_acl_erp_core *erp_core, unsigned int num_erps, enum mlxsw_sp_acl_atcam_region_type region_type, unsigned long *p_index) mlxsw_sp_acl_erp_table_alloc() argument
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
[all...]

Completed in 4 milliseconds