Searched refs:num_cnt_ports (Results 1 – 1 of 1) sorted by relevance
5345 int num_cnt_ports; in mlx5_ib_dealloc_counters() local5348 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() local5458 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()