Home
last modified time | relevance | path

Searched refs:mcounters (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dcounters.c143 struct mlx5_ib_mcounters *mcounters = to_mcounters(counters); in mlx5_ib_read_counters() local
148 mutex_lock(&mcounters->mcntrs_mutex); in mlx5_ib_read_counters()
149 if (mcounters->cntrs_max_index > read_attr->ncounters) { in mlx5_ib_read_counters()
154 mread_attr.out = kcalloc(mcounters->counters_num, sizeof(u64), in mlx5_ib_read_counters()
161 mread_attr.hw_cntrs_hndl = mcounters->hw_cntrs_hndl; in mlx5_ib_read_counters()
163 ret = mcounters->read_counters(counters->device, &mread_attr); in mlx5_ib_read_counters()
170 desc = mcounters->counters_data; in mlx5_ib_read_counters()
171 for (i = 0; i < mcounters->ncounters; i++) in mlx5_ib_read_counters()
177 mutex_unlock(&mcounters->mcntrs_mutex); in mlx5_ib_read_counters()
183 struct mlx5_ib_mcounters *mcounters = to_mcounters(counters); in mlx5_ib_destroy_counters() local
[all …]
Dfs.c1106 struct mlx5_ib_mcounters *mcounters; in _create_flow_rule() local
1112 mcounters = to_mcounters(flow_act.counters); in _create_flow_rule()
1117 mlx5_fc_id(mcounters->hw_cntrs_hndl); in _create_flow_rule()