Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/ex/
H A Dif_ex.c388 sc->tx_head = sc->tx_tail = sc->tx_lower_limit; in ex_init_locked()
459 if ((i = sc->tx_tail - sc->tx_head) >= 0) { in ex_start_locked()
536 if (sc->tx_head != sc->tx_tail) { in ex_start_locked()
562 if (sc->tx_head == sc->tx_tail) { in ex_start_locked()
565 sc->tx_head = dest; in ex_start_locked()
607 sc->tx_head = sc->tx_tail = sc->tx_lower_limit; in ex_stop()
681 while (sc->tx_head != sc->tx_tail) { in ex_tx_intr()
682 CSR_WRITE_2(sc, HOST_ADDR_REG, sc->tx_head); in ex_tx_intr()
688 sc->tx_head = CSR_READ_2(sc, IO_PORT_REG); in ex_tx_intr()
929 sc->tx_head = sc->tx_lower_limit; in ex_setmulti()
[all …]
H A Dif_exvar.h65 u_int tx_head; /* Head and tail of */ member
/freebsd-12.1/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c524 tx_req = &priv->tx_ring[priv->tx_head & (ipoib_sendq_size - 1)]; in ipoib_send()
546 priv->tx_head & (ipoib_sendq_size - 1), address->ah, qpn, in ipoib_send()
556 address->last_send = priv->tx_head; in ipoib_send()
557 ++priv->tx_head; in ipoib_send()
796 while (priv->tx_head != priv->tx_tail || recvs_pending(priv)) { in ipoib_ib_dev_stop()
799 priv->tx_head - priv->tx_tail, recvs_pending(priv)); in ipoib_ib_dev_stop()
805 while ((int) priv->tx_tail - (int) priv->tx_head < 0) { in ipoib_ib_dev_stop()
H A Dipoib_cm.c636 tx->tx_head, mb->m_pkthdr.len, tx->qp->qp_num); in ipoib_cm_send()
646 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send()
656 if (unlikely(post_send(priv, tx, tx_req, tx->tx_head & (ipoib_sendq_size - 1)))) { in ipoib_cm_send()
662 ++tx->tx_head; in ipoib_cm_send()
1065 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
1076 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
1079 p->tx_head - p->tx_tail); in ipoib_cm_tx_destroy()
1089 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
H A Dipoib.h281 unsigned tx_head; member
372 unsigned tx_head; member