Searched refs:def_counter (Results 1 – 2 of 2) sorted by relevance
2535 if (priv->def_counter[port] != -1) in mlx4_cleanup_default_counters()2536 mlx4_counter_free(dev, priv->def_counter[port]); in mlx4_cleanup_default_counters()2546 priv->def_counter[port] = -1; in mlx4_allocate_default_counters()2552 priv->def_counter[port] = idx; in mlx4_allocate_default_counters()2557 priv->def_counter[port] = MLX4_SINK_COUNTER_INDEX(dev); in mlx4_allocate_default_counters()2569 __func__, priv->def_counter[port], port + 1); in mlx4_allocate_default_counters()2662 return priv->def_counter[port - 1]; in mlx4_get_default_counter_index()
901 int def_counter[MLX4_MAX_PORTS]; member