Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c5345 int num_cnt_ports; in mlx5_ib_dealloc_counters() local
5348 num_cnt_ports = is_mdev_switchdev_mode(dev->mdev) ? 1 : dev->num_ports; in mlx5_ib_dealloc_counters()
5350 for (i = 0; i < num_cnt_ports; i++) { in mlx5_ib_dealloc_counters()
5452 int num_cnt_ports; in mlx5_ib_alloc_counters() local
5458 num_cnt_ports = is_mdev_switchdev_mode(dev->mdev) ? 1 : dev->num_ports; in mlx5_ib_alloc_counters()
5460 for (i = 0; i < num_cnt_ports; i++) { in mlx5_ib_alloc_counters()