Lines Matching refs:txq
797 static int make_tx_wrbs(struct be_adapter *adapter, struct be_queue_info *txq,
810 hdr = queue_head_node(txq);
811 queue_head_inc(txq);
812 map_head = txq->head;
821 wrb = queue_head_node(txq);
824 queue_head_inc(txq);
835 wrb = queue_head_node(txq);
838 queue_head_inc(txq);
843 wrb = queue_head_node(txq);
846 queue_head_inc(txq);
854 txq->head = map_head;
856 wrb = queue_head_node(txq);
861 queue_head_inc(txq);
1036 struct be_queue_info *txq = &txo->q;
1040 u32 start = txq->head;
1050 copied = make_tx_wrbs(adapter, txq, skb, wrb_cnt, dummy_wrb,
1059 /* Ensure txq has space for the next skb; Else stop the queue
1063 atomic_add(wrb_cnt, &txq->used);
1064 if ((BE_MAX_TX_FRAG_COUNT + atomic_read(&txq->used)) >=
1065 txq->len) {
1074 txq->head = start;
1961 struct be_queue_info *txq = &txo->q;
1968 sent_skb = sent_skbs[txq->tail];
1970 sent_skbs[txq->tail] = NULL;
1973 queue_tail_inc(txq);
1976 cur_index = txq->tail;
1977 wrb = queue_tail_node(txq);
1983 queue_tail_inc(txq);
2071 struct be_queue_info *txq;
2085 txq = &txo->q;
2094 atomic_sub(num_wrbs, &txq->used);
2097 if (atomic_read(&txq->used) == 0)
2108 txq = &txo->q;
2109 if (atomic_read(&txq->used))
2111 atomic_read(&txq->used));
2114 while (atomic_read(&txq->used)) {
2115 sent_skb = txo->sent_skb_list[txq->tail];
2116 end_idx = txq->tail;
2119 index_adv(&end_idx, num_wrbs - 1, txq->len);
2121 atomic_sub(num_wrbs, &txq->used);
2261 * one txq share an eq