Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dcounters.c244 cnts->num_op_counters, in do_alloc_stats()
249 for (i = 0; i < cnts->num_op_counters; i++) in do_alloc_stats()
469 index < (num_hw_counters + cnts->num_op_counters); index++) { in do_get_op_stats()
475 return cnts->num_op_counters; in do_get_op_stats()
482 int num_counters, num_hw_counters, num_op_counters; in mlx5_ib_get_hw_stats() local
489 num_counters = num_hw_counters + cnts->num_op_counters; in mlx5_ib_get_hw_stats()
502 num_op_counters = do_get_op_stats(ibdev, stats, port_num); in mlx5_ib_get_hw_stats()
503 if (num_op_counters < 0) in mlx5_ib_get_hw_stats()
504 return num_op_counters; in mlx5_ib_get_hw_stats()
506 return num_hw_counters + num_op_counters; in mlx5_ib_get_hw_stats()
[all …]
Dmlx5_ib.h831 u32 num_op_counters; member