Searched refs:cnt_idx (Results 1 – 2 of 2) sorted by relevance
261 uint32_t pool_idx, cnt_idx; in flow_verbs_counter_new() local313 cnt_idx = MLX5_MAKE_CNT_IDX(pool_idx, i); in flow_verbs_counter_new()315 data.dword = cnt_idx; in flow_verbs_counter_new()319 cnt_idx |= MLX5_CNT_SHARED_OFFSET; in flow_verbs_counter_new()327 return cnt_idx; in flow_verbs_counter_new()
4887 uint32_t cnt_idx; in flow_dv_counter_alloc() local4924 cnt_idx = MLX5_MAKE_CNT_IDX(pool->index, in flow_dv_counter_alloc()4927 if (_flow_dv_query_count(dev, cnt_idx, &cnt_free->hits, in flow_dv_counter_alloc()4933 return cnt_idx; in flow_dv_counter_alloc()