Lines Matching refs:tx_queue
67 #define QED_LL2_TX_REGISTERED(ll2) ((ll2)->tx_queue.b_cb_registered)
309 p_tx = &p_ll2_conn->tx_queue; in qed_ll2_txq_flush()
349 struct qed_ll2_tx_queue *p_tx = &p_ll2_conn->tx_queue; in qed_ll2_txq_completion()
866 struct qed_ll2_tx_queue *p_tx = &p_ll2_conn->tx_queue; in qed_ll2_lb_txq_completion()
1006 struct qed_ll2_tx_queue *p_tx = &p_ll2_conn->tx_queue; in qed_sp_ll2_tx_queue_start()
1127 struct qed_ll2_tx_queue *p_tx = &p_ll2_conn->tx_queue; in qed_sp_ll2_tx_queue_stop()
1218 &p_ll2_info->tx_queue.txq_chain, NULL); in qed_ll2_acquire_connection_tx()
1222 capacity = qed_chain_get_capacity(&p_ll2_info->tx_queue.txq_chain); in qed_ll2_acquire_connection_tx()
1233 p_ll2_info->tx_queue.descq_mem = p_descq; in qed_ll2_acquire_connection_tx()
1432 &p_ll2_info->tx_queue.tx_sb_index, in qed_ll2_acquire_connection()
1433 &p_ll2_info->tx_queue.p_fw_cons); in qed_ll2_acquire_connection()
1434 p_ll2_info->tx_queue.b_cb_registered = true; in qed_ll2_acquire_connection()
1502 p_tx = &p_ll2_conn->tx_queue; in qed_ll2_establish_connection()
1712 struct qed_chain *p_tx_chain = &p_ll2->tx_queue.txq_chain; in qed_ll2_prepare_tx_packet_set_bd()
1778 if (p_ll2->tx_queue.cur_send_frag_num == pkt->num_of_bds) in qed_ll2_prepare_tx_packet_set_bd()
1782 for (frag_idx = p_ll2->tx_queue.cur_send_frag_num; in qed_ll2_prepare_tx_packet_set_bd()
1798 bool b_notify = p_ll2_conn->tx_queue.cur_send_packet->notify_fw; in qed_ll2_tx_packet_notify()
1799 struct qed_ll2_tx_queue *p_tx = &p_ll2_conn->tx_queue; in qed_ll2_tx_packet_notify()
1804 if (p_ll2_conn->tx_queue.cur_send_frag_num != in qed_ll2_tx_packet_notify()
1805 p_ll2_conn->tx_queue.cur_send_packet->bd_used) in qed_ll2_tx_packet_notify()
1809 list_add_tail(&p_ll2_conn->tx_queue.cur_send_packet->list_entry, in qed_ll2_tx_packet_notify()
1810 &p_ll2_conn->tx_queue.sending_descq); in qed_ll2_tx_packet_notify()
1811 p_ll2_conn->tx_queue.cur_send_packet = NULL; in qed_ll2_tx_packet_notify()
1812 p_ll2_conn->tx_queue.cur_send_frag_num = 0; in qed_ll2_tx_packet_notify()
1818 bd_prod = qed_chain_get_prod_idx(&p_ll2_conn->tx_queue.txq_chain); in qed_ll2_tx_packet_notify()
1860 p_tx = &p_ll2_conn->tx_queue; in qed_ll2_prepare_tx_packet()
1911 if (!p_ll2_conn->tx_queue.cur_send_packet) in qed_ll2_set_fragment_of_tx_packet()
1914 p_cur_send_packet = p_ll2_conn->tx_queue.cur_send_packet; in qed_ll2_set_fragment_of_tx_packet()
1915 cur_send_frag_num = p_ll2_conn->tx_queue.cur_send_frag_num; in qed_ll2_set_fragment_of_tx_packet()
1927 p_ll2_conn->tx_queue.cur_send_frag_num++; in qed_ll2_set_fragment_of_tx_packet()
1929 spin_lock_irqsave(&p_ll2_conn->tx_queue.lock, flags); in qed_ll2_set_fragment_of_tx_packet()
1931 spin_unlock_irqrestore(&p_ll2_conn->tx_queue.lock, flags); in qed_ll2_set_fragment_of_tx_packet()
1955 p_ll2_conn->tx_queue.b_cb_registered = false; in qed_ll2_terminate_connection()
1962 qed_int_unregister_cb(p_hwfn, p_ll2_conn->tx_queue.tx_sb_index); in qed_ll2_terminate_connection()
2022 kfree(p_ll2_conn->tx_queue.descq_mem); in qed_ll2_release_connection()
2023 qed_chain_free(p_hwfn->cdev, &p_ll2_conn->tx_queue.txq_chain); in qed_ll2_release_connection()