Searched refs:q_counter (Results 1 – 3 of 3) sorted by relevance
291 if (!priv->q_counter) in mlx5e_update_q_counter()294 mlx5_core_query_out_of_buffer(priv->mdev, priv->q_counter, in mlx5e_update_q_counter()1593 MLX5_SET(rqc, rqc, counter_set_id, priv->q_counter); in mlx5e_build_rq_param()3608 err = mlx5_core_alloc_q_counter(mdev, &priv->q_counter); in mlx5e_create_q_counter()3611 priv->q_counter = 0; in mlx5e_create_q_counter()3617 if (!priv->q_counter) in mlx5e_destroy_q_counter()3620 mlx5_core_dealloc_q_counter(priv->mdev, priv->q_counter); in mlx5e_destroy_q_counter()
698 u16 q_counter; member
154 #define MLX5E_NUM_Q_CNTRS(priv) (NUM_Q_COUNTERS * (!!priv->q_counter))