Searched refs:def_counter (Results 1 – 2 of 2) sorted by relevance
2539 if (priv->def_counter[port] != -1) in mlx4_cleanup_default_counters()2540 mlx4_counter_free(dev, priv->def_counter[port]); in mlx4_cleanup_default_counters()2550 priv->def_counter[port] = -1; in mlx4_allocate_default_counters()2556 priv->def_counter[port] = idx; in mlx4_allocate_default_counters()2562 priv->def_counter[port] = MLX4_SINK_COUNTER_INDEX(dev); in mlx4_allocate_default_counters()2574 __func__, priv->def_counter[port], port + 1); in mlx4_allocate_default_counters()2668 return priv->def_counter[port - 1]; in mlx4_get_default_counter_index()
902 int def_counter[MLX4_MAX_PORTS]; member