/freebsd-11-stable/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 | 47 qls_tx_comp(qla_host_t *ha, uint32_t txr_idx, q81_tx_mac_comp_t *tx_comp) argument 57 txb = &ha->tx_ring[txr_idx].tx_buf[tx_idx]; 69 ha->tx_ring[txr_idx].txr_done++; 71 if (ha->tx_ring[txr_idx].txr_done == NUM_TX_DESCRIPTORS) 72 ha->tx_ring[txr_idx].txr_done = 0;
|
H A D | qls_hw.c | 641 qls_hw_tx_done(qla_host_t *ha, uint32_t txr_idx) argument 645 txr_done = ha->tx_ring[txr_idx].txr_done; 646 txr_next = ha->tx_ring[txr_idx].txr_next; 649 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS; 651 ha->tx_ring[txr_idx].txr_free = txr_done - txr_next; 653 ha->tx_ring[txr_idx].txr_free = NUM_TX_DESCRIPTORS + 657 if (ha->tx_ring[txr_idx].txr_free <= QLA_TX_MIN_FREE) 672 uint32_t txr_next, struct mbuf *mp, uint32_t txr_idx) 691 if (ha->tx_ring[txr_idx].txr_free <= (NUM_TX_DESCRIPTORS >> 2)) { 692 if (qls_hw_tx_done(ha, txr_idx)) { 671 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 | 1135 uint32_t txr_idx = 0; local 1141 txr_idx = m_head->m_pkthdr.flowid & (ha->num_tx_rings - 1); 1143 tx_idx = ha->tx_ring[txr_idx].txr_next; 1145 map = ha->tx_ring[txr_idx].tx_buf[tx_idx].map; 1205 if (!(ret = qls_hw_send(ha, segs, nsegs, tx_idx, m_head, txr_idx))) { 1207 ha->tx_ring[txr_idx].count++; 1208 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head = m_head; 1209 ha->tx_ring[txr_idx].tx_buf[tx_idx].map = map;
|
/freebsd-11-stable/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 | 82 static int qla_send(qla_host_t *ha, struct mbuf **m_headp, uint32_t txr_idx, 483 ha->tx_fp[i].txr_idx = i; 1276 qla_send(qla_host_t *ha, struct mbuf **m_headp, uint32_t txr_idx, argument 1288 tx_idx = ha->hw.tx_cntxt[txr_idx].txr_next; 1290 if ((NULL != ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head) || 1292 QL_ASSERT(ha, 0, ("%s [%d]: txr_idx = %d tx_idx = %d "\ 1293 "mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx,\ 1294 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); 1296 device_printf(ha->pci_dev, "%s [%d]: txr_idx = %d tx_idx = %d " 1297 "mbuf = %p\n", __func__, __LINE__, txr_idx, tx_id 1438 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 | 929 OID_AUTO, "tx_ring_index", CTLFLAG_RW, &ha->txr_idx, 930 ha->txr_idx, "Tx Ring Used"); 2496 uint32_t tx_idx, struct mbuf *mp, uint32_t txr_idx, uint32_t iscsi_pdu) 2563 if (hw->tx_cntxt[txr_idx].txr_free <= (num_tx_cmds + QLA_TX_MIN_FREE)) { 2564 ql_hw_tx_done_locked(ha, txr_idx); 2565 if (hw->tx_cntxt[txr_idx].txr_free <= 2579 if (NULL != ha->tx_ring[txr_idx].tx_buf[j].m_head) { 2581 ("%s [%d]: txr_idx = %d tx_idx = %d mbuf = %p\n",\ 2582 __func__, __LINE__, txr_idx, j,\ 2583 ha->tx_ring[txr_idx] 2495 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 3413 qla_init_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx) argument 3501 qla_del_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx) argument 3804 ql_hw_tx_done_locked(qla_host_t *ha, uint32_t txr_idx) argument [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_def.h | 437 uint32_t txr_idx; member in struct:qlnx_host
|