Searched refs:tx_head (Results 1 – 12 of 12) sorted by relevance
| /freebsd/sys/dev/thunderbolt/ |
| H A D | nhi_var.h | 98 TAILQ_HEAD(, nhi_cmd_frame) tx_head; 249 if ((cmd = TAILQ_FIRST(&r->tx_head)) != NULL) in nhi_alloc_tx_frame_locked() 250 TAILQ_REMOVE(&r->tx_head, cmd, cm_link); in nhi_alloc_tx_frame_locked() 260 TAILQ_INSERT_TAIL(&r->tx_head, cmd, cm_link); in nhi_free_tx_frame_locked()
|
| H A D | nhi.c | 430 TAILQ_INIT(&r->tx_head); in nhi_alloc_ring()
|
| /freebsd/sys/dev/qat/qat_common/ |
| H A D | adf_freebsd_uio_cleanup.c | 220 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()
|
| /freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_ib.c | 526 tx_req = &priv->tx_ring[priv->tx_head & (ipoib_sendq_size - 1)]; in ipoib_send() 548 priv->tx_head & (ipoib_sendq_size - 1), address->ah, qpn, in ipoib_send() 558 address->last_send = priv->tx_head; in ipoib_send() 559 ++priv->tx_head; in ipoib_send() 801 while (priv->tx_head != priv->tx_tail || recvs_pending(priv)) { in ipoib_ib_dev_stop() 804 priv->tx_head - priv->tx_tail, recvs_pending(priv)); in ipoib_ib_dev_stop() 810 while ((int) priv->tx_tail - (int) priv->tx_head < 0) { in ipoib_ib_dev_stop()
|
| H A D | ipoib_cm.c | 633 tx->tx_head, mb->m_pkthdr.len, tx->qp->qp_num); in ipoib_cm_send() 643 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send() 653 if (unlikely(post_send(priv, tx, tx_req, tx->tx_head & (ipoib_sendq_size - 1)))) { in ipoib_cm_send() 659 ++tx->tx_head; in ipoib_cm_send() 1064 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy() 1075 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy() 1078 p->tx_head - p->tx_tail); in ipoib_cm_tx_destroy() 1088 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
|
| H A D | ipoib.h | 278 unsigned tx_head; member 369 unsigned tx_head; member
|
| /freebsd/sys/dev/aq/ |
| H A D | aq_ring.c | 590 AQ_DBG_PRINT("swhead %d hwhead %d", ring->tx_head, head); in aq_isc_txd_credits_update() 597 if (ring->tx_head == head) { in aq_isc_txd_credits_update() 602 avail = aq_avail_desc(head, ring->tx_head, ring->tx_size); in aq_isc_txd_credits_update() 604 ring->tx_head = head; in aq_isc_txd_credits_update()
|
| H A D | aq_ring.h | 160 int tx_head, tx_tail; member
|
| H A D | aq_main.c | 647 ring->tx_head = ring->tx_tail = 0; in aq_if_tx_queues_alloc() 867 softc->tx_rings[i]->tx_head = 0; in aq_if_stop()
|
| /freebsd/sys/dev/gve/ |
| H A D | gve_dqo.h | 232 __le16 tx_head; member
|
| H A D | gve_tx_dqo.c | 1082 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()
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_lan_tx_rx.h | 1075 u16 tx_head; member 1086 ICE_CTX_STORE(ice_tx_cmpltnq, tx_head, 13, 16),
|