Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c758 int num_cnt_ports = dev->num_ports; in mlx5_ib_dealloc_counters() local
762 num_cnt_ports = min(2, num_cnt_ports); in mlx5_ib_dealloc_counters()
767 for (i = 0; i < num_cnt_ports; i++) { in mlx5_ib_dealloc_counters()
794 int num_cnt_ports = dev->num_ports; in mlx5_ib_alloc_counters() local
809 num_cnt_ports = min(2, num_cnt_ports); in mlx5_ib_alloc_counters()
811 for (i = 0; i < num_cnt_ports; i++) { in mlx5_ib_alloc_counters()