Lines Matching refs:sendq
2759 spin_lock(&q->sendq.lock); in ctrl_xmit()
2763 __skb_queue_tail(&q->sendq, skb); in ctrl_xmit()
2764 spin_unlock(&q->sendq.lock); in ctrl_xmit()
2776 spin_unlock(&q->sendq.lock); in ctrl_xmit()
2794 spin_lock(&q->sendq.lock); in restart_ctrlq()
2798 while ((skb = __skb_dequeue(&q->sendq)) != NULL) { in restart_ctrlq()
2808 spin_unlock(&q->sendq.lock); in restart_ctrlq()
2818 spin_lock(&q->sendq.lock); in restart_ctrlq()
2826 spin_lock(&q->sendq.lock); in restart_ctrlq()
2832 spin_unlock(&q->sendq.lock); in restart_ctrlq()
2947 __must_hold(&q->sendq.lock) in service_ofldq()
2967 while ((skb = skb_peek(&q->sendq)) != NULL && !q->full) { in service_ofldq()
2975 spin_unlock(&q->sendq.lock); in service_ofldq()
2992 spin_lock(&q->sendq.lock); in service_ofldq()
3046 spin_lock(&q->sendq.lock); in service_ofldq()
3047 __skb_unlink(skb, &q->sendq); in service_ofldq()
3070 spin_lock(&q->sendq.lock); in ofld_xmit()
3080 __skb_queue_tail(&q->sendq, skb); in ofld_xmit()
3081 if (q->sendq.qlen == 1) in ofld_xmit()
3084 spin_unlock(&q->sendq.lock); in ofld_xmit()
3098 spin_lock(&q->sendq.lock); in restart_ofldq()
3101 spin_unlock(&q->sendq.lock); in restart_ofldq()
3235 if (!spin_trylock(&q->sendq.lock)) in ofld_xmit_direct()
3238 if (q->full || !skb_queue_empty(&q->sendq) || in ofld_xmit_direct()
3240 spin_unlock(&q->sendq.lock); in ofld_xmit_direct()
3254 spin_unlock(&q->sendq.lock); in ofld_xmit_direct()
4733 skb_queue_head_init(&txq->sendq); in t4_sge_alloc_ctrl_txq()
4823 skb_queue_head_init(&txq->sendq); in t4_sge_alloc_uld_txq()
4970 __skb_queue_purge(&cq->sendq); in t4_free_sge_resources()