Home
last modified time | relevance | path

Searched refs:p_tx (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_ll2.c304 struct qed_ll2_tx_queue *p_tx; in qed_ll2_txq_flush() local
312 p_tx = &p_ll2_conn->tx_queue; in qed_ll2_txq_flush()
314 spin_lock_irqsave(&p_tx->lock, flags); in qed_ll2_txq_flush()
315 while (!list_empty(&p_tx->active_descq)) { in qed_ll2_txq_flush()
316 p_pkt = list_first_entry(&p_tx->active_descq, in qed_ll2_txq_flush()
322 b_last_packet = list_empty(&p_tx->active_descq); in qed_ll2_txq_flush()
323 list_add_tail(&p_pkt->list_entry, &p_tx->free_descq); in qed_ll2_txq_flush()
324 spin_unlock_irqrestore(&p_tx->lock, flags); in qed_ll2_txq_flush()
332 p_tx->cur_completing_packet = *p_pkt; in qed_ll2_txq_flush()
333 p_tx->cur_completing_bd_idx = 1; in qed_ll2_txq_flush()
[all …]