Searched refs:tx_idx (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/tsec/ |
H A D | if_tsec.c | 790 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() 834 tx_desc = &sc->tsec_tx_vaddr[tx_idx]; in tsec_encap() 853 tx_desc->flags = (tx_idx == (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() [all …]
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_isr.c | 47 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 D | qls_glbl.h | 71 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx);
|
H A D | qls_os.c | 1113 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 D | ql_os.c | 1260 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 D | ql_glbl.h | 59 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx,
|
H A D | ql_hw.c | 2469 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 D | qla_glbl.h | 67 uint32_t *tx_idx, struct mbuf *mp);
|
H A D | qla_os.c | 1034 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 D | qla_hw.c | 918 uint32_t *tx_idx, struct mbuf *mp) in qla_hw_send() argument 985 *tx_idx = hw->txr_next; in qla_hw_send()
|