Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c302 struct qed_ll2_tx_queue *p_tx; in qed_ll2_txq_flush() local
310 p_tx = &p_ll2_conn->tx_queue; in qed_ll2_txq_flush()
312 spin_lock_irqsave(&p_tx->lock, flags); in qed_ll2_txq_flush()
313 while (!list_empty(&p_tx->active_descq)) { in qed_ll2_txq_flush()
314 p_pkt = list_first_entry(&p_tx->active_descq, in qed_ll2_txq_flush()
320 b_last_packet = list_empty(&p_tx->active_descq); in qed_ll2_txq_flush()
321 list_add_tail(&p_pkt->list_entry, &p_tx->free_descq); in qed_ll2_txq_flush()
322 spin_unlock_irqrestore(&p_tx->lock, flags); in qed_ll2_txq_flush()
330 p_tx->cur_completing_packet = *p_pkt; in qed_ll2_txq_flush()
331 p_tx->cur_completing_bd_idx = 1; in qed_ll2_txq_flush()
[all …]