Searched refs:MLX4_SINK_COUNTER_INDEX (Results 1 – 7 of 7) sorted by relevance
77 MLX4_SINK_COUNTER_INDEX(mdev->dev)) { in mlx4_en_fill_qp_context()
2562 priv->def_counter[port] = MLX4_SINK_COUNTER_INDEX(dev); in mlx4_allocate_default_counters()2564 MLX4_SINK_COUNTER_INDEX(dev)); in mlx4_allocate_default_counters()2589 *idx = MLX4_SINK_COUNTER_INDEX(dev); in __mlx4_counter_alloc()2640 if (idx == MLX4_SINK_COUNTER_INDEX(dev)) in __mlx4_counter_free()
981 if (counter_index == MLX4_SINK_COUNTER_INDEX(dev)) in handle_existing_counter()1006 u64 counter_idx = MLX4_SINK_COUNTER_INDEX(dev); in handle_unexisting_counter()1043 if (qpc->pri_path.counter_index != MLX4_SINK_COUNTER_INDEX(dev)) in handle_counter()2576 if (index == MLX4_SINK_COUNTER_INDEX(dev)) in counter_free_res()
1917 priv->counter_index = MLX4_SINK_COUNTER_INDEX(mdev->dev); in mlx4_en_stop_port()3183 priv->counter_index = MLX4_SINK_COUNTER_INDEX(mdev->dev); in mlx4_en_init_netdev()
3297 if (counter_index == MLX4_SINK_COUNTER_INDEX(dev)) in mlx4_get_counter_stats()
1025 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1) macro
2229 MLX4_SINK_COUNTER_INDEX(dev->dev); in __mlx4_ib_modify_qp()