Home
last modified time | relevance | path

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

/src/sys/dev/thunderbolt/
H A Dnhi_var.h100 TAILQ_HEAD(, nhi_cmd_frame) tx_head;
264 if ((cmd = TAILQ_FIRST(&r->tx_head)) != NULL) in nhi_alloc_tx_frame_locked()
265 TAILQ_REMOVE(&r->tx_head, cmd, cm_link); in nhi_alloc_tx_frame_locked()
275 TAILQ_INSERT_TAIL(&r->tx_head, cmd, cm_link); in nhi_free_tx_frame_locked()
H A Dnhi.c377 TAILQ_INIT(&r->tx_head); in nhi_alloc_ring()
/src/sys/dev/qat/qat_common/
H A Dadf_freebsd_uio_cleanup.c220 u32 rx_tail = 0, tx_head = 0, rx_ring_msg_offset = 0, in is_all_resp_recvd() local
231 tx_head = csr_ops->read_csr_ring_head(bundle->csr_base, in is_all_resp_recvd()
244 tx_ring_msg_offset = (tx_head >> 1); in is_all_resp_recvd()
246 tx_ring_msg_offset = (tx_head >> 2); in is_all_resp_recvd()
/src/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c525 tx_req = &priv->tx_ring[priv->tx_head & (ipoib_sendq_size - 1)]; in ipoib_send()
547 priv->tx_head & (ipoib_sendq_size - 1), address->ah, qpn, in ipoib_send()
557 address->last_send = priv->tx_head; in ipoib_send()
558 ++priv->tx_head; in ipoib_send()
797 while (priv->tx_head != priv->tx_tail || recvs_pending(priv)) { in ipoib_ib_dev_stop()
800 priv->tx_head - priv->tx_tail, recvs_pending(priv)); in ipoib_ib_dev_stop()
806 while ((int) priv->tx_tail - (int) priv->tx_head < 0) { in ipoib_ib_dev_stop()
H A Dipoib_cm.c638 tx->tx_head, mb->m_pkthdr.len, tx->qp->qp_num); in ipoib_cm_send()
648 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send()
658 if (unlikely(post_send(priv, tx, tx_req, tx->tx_head & (ipoib_sendq_size - 1)))) { in ipoib_cm_send()
664 ++tx->tx_head; in ipoib_cm_send()
1070 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
1081 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
1084 p->tx_head - p->tx_tail); in ipoib_cm_tx_destroy()
1094 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
H A Dipoib.h278 unsigned tx_head; member
369 unsigned tx_head; member
/src/sys/dev/aq/
H A Daq_ring.c593 AQ_DBG_PRINT("swhead %d hwhead %d", ring->tx_head, head); in aq_isc_txd_credits_update()
595 if (ring->tx_head == head) { in aq_isc_txd_credits_update()
600 avail = aq_avail_desc(head, ring->tx_head, ring->tx_size); in aq_isc_txd_credits_update()
602 ring->tx_head = head; in aq_isc_txd_credits_update()
H A Daq_ring.h161 int tx_head, tx_tail; member
H A Daq_main.c562 ring->tx_head = ring->tx_tail = 0;
735 softc->tx_rings[i]->tx_head = 0;
/src/sys/dev/gve/
H A Dgve_dqo.h232 __le16 tx_head; member
H A Dgve_tx_dqo.c1082 uint16_t tx_head; in gve_tx_cleanup_dqo() local
1098 tx_head = le16toh(compl_desc->tx_head); in gve_tx_cleanup_dqo()
1099 atomic_store_rel_32(&tx->dqo.hw_tx_head, tx_head); in gve_tx_cleanup_dqo()
/src/sys/dev/ice/
H A Dice_lan_tx_rx.h1075 u16 tx_head; member
1086 ICE_CTX_STORE(ice_tx_cmpltnq, tx_head, 13, 16),