Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_acl_flex_keys.c57 unsigned int blocks_count; member
65 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()
96 mlxsw_afk->blocks_count = ops->blocks_count; in mlxsw_afk_create()
112 unsigned int blocks_count; member
153 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_count_hits()
179 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_subtract_hits()
219 key_info->blocks[key_info->blocks_count] = in mlxsw_afk_picker_key_info_add()
221 key_info->blocks_count++; in mlxsw_afk_picker_key_info_add()
431 return key_info->blocks_count; in mlxsw_afk_key_info_blocks_count_get()
521 unsigned int blocks_count = in mlxsw_afk_encode() local
[all …]
A Dspectrum_acl_flex_keys.c122 .blocks_count = ARRAY_SIZE(mlxsw_sp1_afk_blocks),
317 .blocks_count = ARRAY_SIZE(mlxsw_sp2_afk_blocks),
363 .blocks_count = ARRAY_SIZE(mlxsw_sp4_afk_blocks),
A 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()
A Dcore_acl_flex_keys.h189 unsigned int blocks_count; member

Completed in 12 milliseconds