/freebsd-current/sys/dev/qlxge/ |
H A D | qls_glbl.h | 68 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 D | qls_isr.c | 44 qls_tx_comp(qla_host_t *ha, uint32_t txr_idx, q81_tx_mac_comp_t *tx_comp) argument 54 txb = &ha->tx_ring[txr_idx].tx_buf[tx_idx]; 66 ha->tx_ring[txr_idx].txr_done++; 68 if (ha->tx_ring[txr_idx].txr_done == NUM_TX_DESCRIPTORS) 69 ha->tx_ring[txr_idx].txr_done = 0;
|
H A D | qls_hw.c | 635 qls_hw_tx_done(qla_host_t *ha, uint32_t txr_idx) argument 639 txr_done = ha->tx_ring[txr_idx].txr_done; 640 txr_next = ha->tx_ring[txr_idx].txr_next; 643 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS; 645 ha->tx_ring[txr_idx].txr_free = txr_done - txr_next; 647 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS + 651 if (ha->tx_ring[txr_idx].txr_free <= QLA_TX_MIN_FREE) 666 uint32_t txr_next, struct mbuf *mp, uint32_t txr_idx) 685 if (ha->tx_ring[txr_idx].txr_free <= (NUM_TX_DESCRIPTORS >> 2)) { 686 if (qls_hw_tx_done(ha, txr_idx)) { 665 qls_hw_send(qla_host_t *ha, bus_dma_segment_t *segs, int nsegs, uint32_t txr_next, struct mbuf *mp, uint32_t txr_idx) argument [all...] |
H A D | qls_os.c | 1119 uint32_t txr_idx = 0; local 1125 txr_idx = m_head->m_pkthdr.flowid & (ha->num_tx_rings - 1); 1127 tx_idx = ha->tx_ring[txr_idx].txr_next; 1129 map = ha->tx_ring[txr_idx].tx_buf[tx_idx].map; 1186 if (!(ret = qls_hw_send(ha, segs, nsegs, tx_idx, m_head, txr_idx))) { 1187 ha->tx_ring[txr_idx].count++; 1188 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head = m_head; 1189 ha->tx_ring[txr_idx].tx_buf[tx_idx].map = map;
|
/freebsd-current/sys/dev/qlxgbe/ |
H A D | ql_glbl.h | 59 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 D | ql_os.c | 81 static int qla_send(qla_host_t *ha, struct mbuf **m_headp, uint32_t txr_idx, 473 ha->tx_fp[i].txr_idx = i; 1257 qla_send(qla_host_t *ha, struct mbuf **m_headp, uint32_t txr_idx, argument 1269 tx_idx = ha->hw.tx_cntxt[txr_idx].txr_next; 1271 if ((NULL != ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head) || 1273 QL_ASSERT(ha, 0, ("%s [%d]: txr_idx = %d tx_idx = %d "\ 1274 "mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx,\ 1275 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); 1277 QL_DPRINT2(ha, (ha->pci_dev, "%s [%d]: txr_idx = %d tx_idx = %d " 1278 "mbuf = %p\n", __func__, __LINE__, txr_idx, tx_id 1414 uint32_t txr_idx; local [all...] |
H A D | ql_def.h | 123 uint32_t txr_idx; member in struct:_qla_tx_fp 191 uint32_t txr_idx; /* index of the current tx ring */ member in struct:qla_host
|
H A D | ql_hw.c | 922 OID_AUTO, "tx_ring_index", CTLFLAG_RW, &ha->txr_idx, 923 ha->txr_idx, "Tx Ring Used"); 2469 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx, uint32_t iscsi_pdu) 2535 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { 2536 ql_hw_tx_done_locked(ha, txr_idx); 2537 if (hw->tx_cntxt[txr_idx].txr_free <= 2551 if (NULL != ha->tx_ring[txr_idx].tx_buf[j].m_head) { 2553 ("%s [%d]: txr_idx = %d tx_idx = %d mbuf = %p\n",\ 2554 __func__, __LINE__, txr_idx, j,\ 2555 ha->tx_ring[txr_idx] 2468 ql_hw_send(qla_host_t *ha, bus_dma_segment_t *segs, int nsegs, uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx, uint32_t iscsi_pdu) argument 3345 qla_init_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx) argument 3432 qla_del_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx) argument 3730 ql_hw_tx_done_locked(qla_host_t *ha, uint32_t txr_idx) argument [all...] |
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_def.h | 422 uint32_t txr_idx; member in struct:qlnx_host
|