Home
last modified time | relevance | path

Searched refs:txr_idx (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/qlxgbe/
H A Dql_os.c473 ha->tx_fp[i].txr_idx = i; in qla_pci_attach()
1265 tx_idx = ha->hw.tx_cntxt[txr_idx].txr_next; in qla_send()
1343 ha->tx_ring[txr_idx].count++; in qla_send()
1345 ha->tx_ring[txr_idx].iscsi_pkt_count++; in qla_send()
1410 uint32_t txr_idx; in qla_fp_taskqueue() local
1423 txr_idx = fp->txr_idx; in qla_fp_taskqueue()
1437 ql_hw_tx_done_locked(ha, fp->txr_idx); in qla_fp_taskqueue()
1440 ql_hw_tx_done_locked(ha, fp->txr_idx); in qla_fp_taskqueue()
1449 txr_idx = txr_idx + in qla_fp_taskqueue()
1454 txr_idx = fp->txr_idx; in qla_fp_taskqueue()
[all …]
H A Dql_glbl.h59 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx,
71 extern void ql_hw_tx_done_locked(qla_host_t *ha, uint32_t txr_idx);
H A Dql_hw.c923 ha->txr_idx, "Tx Ring Used"); in ql_hw_add_sysctls()
2536 ql_hw_tx_done_locked(ha, txr_idx); in ql_hw_send()
2537 if (hw->tx_cntxt[txr_idx].txr_free <= in ql_hw_send()
2554 __func__, __LINE__, txr_idx, j,\ in ql_hw_send()
2639 (hw->tx_cntxt[txr_idx].txr_next + 1) & in ql_hw_send()
2712 hw->tx_cntxt[txr_idx].txr_free = in ql_hw_send()
2716 txr_idx); in ql_hw_send()
3355 hw_tx_cntxt = &hw->tx_cntxt[txr_idx]; in qla_init_xmt_cntxt_i()
3369 intr_idx = txr_idx; in qla_init_xmt_cntxt_i()
3737 hw_tx_cntxt = &hw->tx_cntxt[txr_idx]; in ql_hw_tx_done_locked()
[all …]
H A Dql_def.h123 uint32_t txr_idx; member
191 uint32_t txr_idx; /* index of the current tx ring */ member
/freebsd/sys/dev/qlxge/
H A Dqls_isr.c44 qls_tx_comp(qla_host_t *ha, uint32_t txr_idx, q81_tx_mac_comp_t *tx_comp) in qls_tx_comp() argument
54 txb = &ha->tx_ring[txr_idx].tx_buf[tx_idx]; in qls_tx_comp()
66 ha->tx_ring[txr_idx].txr_done++; in qls_tx_comp()
68 if (ha->tx_ring[txr_idx].txr_done == NUM_TX_DESCRIPTORS) in qls_tx_comp()
69 ha->tx_ring[txr_idx].txr_done = 0; in qls_tx_comp()
H A Dqls_hw.c639 txr_done = ha->tx_ring[txr_idx].txr_done; in qls_hw_tx_done()
640 txr_next = ha->tx_ring[txr_idx].txr_next; in qls_hw_tx_done()
686 if (qls_hw_tx_done(ha, txr_idx)) { in qls_hw_send()
688 __func__, txr_idx, in qls_hw_send()
689 ha->tx_ring[txr_idx].txr_free); in qls_hw_send()
705 ha->tx_ring[txr_idx].tx_tso_frames++; in qls_hw_send()
707 ha->tx_ring[txr_idx].tx_frames++; in qls_hw_send()
717 ha->tx_ring[txr_idx].tx_vlan_frames++; in qls_hw_send()
761 ha->tx_ring[txr_idx].txr_next = txr_next; in qls_hw_send()
763 ha->tx_ring[txr_idx].txr_free--; in qls_hw_send()
[all …]
H A Dqls_glbl.h68 extern int qls_hw_tx_done(qla_host_t *ha, uint32_t txr_idx);
71 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx);
H A Dqls_os.c1115 uint32_t txr_idx = 0; in qls_send() local
1121 txr_idx = m_head->m_pkthdr.flowid & (ha->num_tx_rings - 1); in qls_send()
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()
1183 ha->tx_ring[txr_idx].count++; 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/qlnx/qlnxe/
H A Dqlnx_def.h422 uint32_t txr_idx; member