Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dcounters.c149 if (mcounters->cntrs_max_index > read_attr->ncounters) { in mlx5_ib_read_counters()
858 u32 cntrs_max_index = 0; in counters_set_description() local
874 if (cntrs_max_index <= desc_data[i].index) in counters_set_description()
875 cntrs_max_index = desc_data[i].index + 1; in counters_set_description()
880 mcounters->cntrs_max_index = cntrs_max_index; in counters_set_description()
927 if (mcounters->cntrs_max_index) { in mlx5_ib_flow_counters_set_data()
939 } else if (!mcounters->cntrs_max_index) { in mlx5_ib_flow_counters_set_data()
970 mcounters->cntrs_max_index = 0; in mlx5_ib_counters_clear_description()
Dmlx5_ib.h1029 u32 cntrs_max_index; member