Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c248 cnts->num_op_counters, in do_alloc_stats()
253 for (i = 0; i < cnts->num_op_counters; i++) in do_alloc_stats()
473 index < (num_hw_counters + cnts->num_op_counters); index++) { in do_get_op_stats()
479 return cnts->num_op_counters; in do_get_op_stats()
486 int num_counters, num_hw_counters, num_op_counters; in mlx5_ib_get_hw_stats() local
493 num_counters = num_hw_counters + cnts->num_op_counters; in mlx5_ib_get_hw_stats()
506 num_op_counters = do_get_op_stats(ibdev, stats, port_num); in mlx5_ib_get_hw_stats()
507 if (num_op_counters < 0) in mlx5_ib_get_hw_stats()
508 return num_op_counters; in mlx5_ib_get_hw_stats()
510 return num_hw_counters + num_op_counters; in mlx5_ib_get_hw_stats()
[all …]