Searched refs:def_counter (Results 1 – 2 of 2) sorted by relevance
2560 if (priv->def_counter[port] != -1) in mlx4_cleanup_default_counters()2561 mlx4_counter_free(dev, priv->def_counter[port]); in mlx4_cleanup_default_counters()2571 priv->def_counter[port] = -1; in mlx4_allocate_default_counters()2577 priv->def_counter[port] = idx; in mlx4_allocate_default_counters()2583 priv->def_counter[port] = MLX4_SINK_COUNTER_INDEX(dev); in mlx4_allocate_default_counters()2595 __func__, priv->def_counter[port], port + 1); in mlx4_allocate_default_counters()2689 return priv->def_counter[port - 1]; in mlx4_get_default_counter_index()
909 int def_counter[MLX4_MAX_PORTS]; member