Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c52 unsigned int blocks_count; member
60 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()
91 mlxsw_afk->blocks_count = ops->blocks_count; in mlxsw_afk_create()
107 unsigned int blocks_count; member
149 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_count_hits()
175 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_subtract_hits()
190 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_most_hits_get()
206 if (key_info->blocks_count == mlxsw_afk->max_blocks) in mlxsw_afk_picker_key_info_add()
211 key_info->element_to_block[element] = key_info->blocks_count; in mlxsw_afk_picker_key_info_add()
215 key_info->blocks[key_info->blocks_count] = in mlxsw_afk_picker_key_info_add()
[all …]
Dspectrum_acl_atcam.c295 unsigned int blocks_count; in mlxsw_sp_acl_atcam_region_type_init() local
300 blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); in mlxsw_sp_acl_atcam_region_type_init()
301 if (blocks_count <= 2) in mlxsw_sp_acl_atcam_region_type_init()
303 else if (blocks_count <= 4) in mlxsw_sp_acl_atcam_region_type_init()
305 else if (blocks_count <= 8) in mlxsw_sp_acl_atcam_region_type_init()
Dspectrum_acl_flex_keys.c120 .blocks_count = ARRAY_SIZE(mlxsw_sp1_afk_blocks),
310 .blocks_count = ARRAY_SIZE(mlxsw_sp2_afk_blocks),
Dcore_acl_flex_keys.h176 unsigned int blocks_count; member