Home
last modified time | relevance | path

Searched refs:tx_idx (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/tsec/
H A Dif_tsec.c790 uint32_t tx_idx; in tsec_encap() local
795 tx_idx = sc->tx_idx_head; in tsec_encap()
796 tx_bufmap = &sc->tx_bufmap[tx_idx]; in tsec_encap()
827 tx_idx = (tx_idx + (uint32_t)nsegs) & (TSEC_TX_NUM_DESC - 1); in tsec_encap()
828 sc->tx_idx_head = tx_idx; in tsec_encap()
833 tx_idx = (tx_idx - 1) & (TSEC_TX_NUM_DESC - 1); in tsec_encap()
1426 uint32_t tx_idx; in tsec_transmit_intr_locked() local
1445 tx_idx = sc->tx_idx_tail; in tsec_transmit_intr_locked()
1446 while (tx_idx != sc->tx_idx_head) { in tsec_transmit_intr_locked()
1456 tx_idx = (tx_idx + 1) & (TSEC_TX_NUM_DESC - 1); in tsec_transmit_intr_locked()
[all …]
/freebsd/sys/dev/qlxge/
H A Dqls_isr.c47 uint32_t tx_idx = tx_comp->tid_lo; in qls_tx_comp() local
49 if (tx_idx >= NUM_TX_DESCRIPTORS) { in qls_tx_comp()
54 txb = &ha->tx_ring[txr_idx].tx_buf[tx_idx]; in qls_tx_comp()
H A Dqls_glbl.h71 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx);
H A Dqls_os.c1113 uint32_t tx_idx; in qls_send() local
1123 tx_idx = ha->tx_ring[txr_idx].txr_next; in qls_send()
1125 map = ha->tx_ring[txr_idx].tx_buf[tx_idx].map; in qls_send()
1182 if (!(ret = qls_hw_send(ha, segs, nsegs, tx_idx, m_head, txr_idx))) { in qls_send()
1184 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head = m_head; in qls_send()
1185 ha->tx_ring[txr_idx].tx_buf[tx_idx].map = map; in qls_send()
/freebsd/sys/dev/qlxgbe/
H A Dql_os.c1260 uint32_t tx_idx; in qla_send() local
1265 tx_idx = ha->hw.tx_cntxt[txr_idx].txr_next; in qla_send()
1267 if ((NULL != ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head) || in qla_send()
1270 "mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx,\ in qla_send()
1271 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); in qla_send()
1274 "mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx, in qla_send()
1275 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); in qla_send()
1284 map = ha->tx_ring[txr_idx].tx_buf[tx_idx].map; in qla_send()
1341 if (!(ret = ql_hw_send(ha, segs, nsegs, tx_idx, m_head, txr_idx, in qla_send()
1346 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head = m_head; in qla_send()
H A Dql_glbl.h59 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx,
H A Dql_hw.c2469 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx, uint32_t iscsi_pdu) in ql_hw_send() argument
2549 j = (tx_idx+i) & (NUM_TX_DESCRIPTORS - 1); in ql_hw_send()
2560 tx_cmd = &hw->tx_cntxt[txr_idx].tx_ring_base[tx_idx]; in ql_hw_send()
/freebsd/sys/dev/qlxgb/
H A Dqla_glbl.h67 uint32_t *tx_idx, struct mbuf *mp);
H A Dqla_os.c1034 uint32_t tx_idx; in qla_send() local
1103 if (!(ret = qla_hw_send(ha, segs, nsegs, &tx_idx, m_head))) { in qla_send()
1104 ha->tx_buf[tx_idx].m_head = m_head; in qla_send()
1105 ha->tx_buf[tx_idx].map = map; in qla_send()
H A Dqla_hw.c918 uint32_t *tx_idx, struct mbuf *mp) in qla_hw_send() argument
985 *tx_idx = hw->txr_next; in qla_hw_send()