Searched refs:max_groups (Results 1 – 2 of 2) sorted by relevance
38 u64 max_groups; in mlxsw_sp_acl_tcam_init() local61 max_groups = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_MAX_GROUPS); in mlxsw_sp_acl_tcam_init()62 alloc_size = sizeof(tcam->used_groups[0]) * BITS_TO_LONGS(max_groups); in mlxsw_sp_acl_tcam_init()68 tcam->max_groups = max_groups; in mlxsw_sp_acl_tcam_init()145 id = find_first_zero_bit(tcam->used_groups, tcam->max_groups); in mlxsw_sp_acl_tcam_group_id_get()146 if (id < tcam->max_groups) { in mlxsw_sp_acl_tcam_group_id_get()
18 unsigned int max_groups; member