Lines Matching refs:tx_head
741 tx->tx_head, skb->len, tx->qp->qp_num); in ipoib_cm_send()
750 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send()
759 if ((priv->tx_head - priv->tx_tail) == ipoib_sendq_size - 1) { in ipoib_cm_send()
777 rc = post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1), tx_req); in ipoib_cm_send()
788 ++tx->tx_head; in ipoib_cm_send()
789 ++priv->tx_head; in ipoib_cm_send()
826 (priv->tx_head - priv->tx_tail) <= ipoib_sendq_size >> 1 && in ipoib_cm_handle_tx_wc()
1208 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail); in ipoib_cm_tx_destroy()
1216 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
1219 p->tx_head - p->tx_tail); in ipoib_cm_tx_destroy()
1229 while ((int) p->tx_tail - (int) p->tx_head < 0) { in ipoib_cm_tx_destroy()
1236 if (unlikely(priv->tx_head - priv->tx_tail == ipoib_sendq_size >> 1) && in ipoib_cm_tx_destroy()