Lines Matching refs:cq
197 int cq, int user_prio) in mlx4_en_activate_tx_ring() argument
202 ring->cqn = cq; in mlx4_en_activate_tx_ring()
386 struct mlx4_en_cq *cq) in mlx4_en_process_tx_cq() argument
389 struct mlx4_cq *mcq = &cq->mcq; in mlx4_en_process_tx_cq()
390 struct mlx4_en_tx_ring *ring = priv->tx_ring[cq->ring]; in mlx4_en_process_tx_cq()
397 int size = cq->size; in mlx4_en_process_tx_cq()
399 struct mlx4_cqe *buf = cq->buf; in mlx4_en_process_tx_cq()
495 struct mlx4_en_cq *cq = container_of(mcq, struct mlx4_en_cq, mcq); in mlx4_en_tx_irq() local
496 struct mlx4_en_priv *priv = netdev_priv(cq->dev); in mlx4_en_tx_irq()
499 napi_schedule_irqoff(&cq->napi); in mlx4_en_tx_irq()
501 mlx4_en_arm_cq(priv, cq); in mlx4_en_tx_irq()
507 struct mlx4_en_cq *cq = container_of(napi, struct mlx4_en_cq, napi); in mlx4_en_poll_tx_cq() local
508 struct net_device *dev = cq->dev; in mlx4_en_poll_tx_cq()
512 clean_complete = mlx4_en_process_tx_cq(dev, cq); in mlx4_en_poll_tx_cq()
517 mlx4_en_arm_cq(priv, cq); in mlx4_en_poll_tx_cq()