Lines Matching refs:txr_idx

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; in qla_pci_attach()
1253 qla_send(qla_host_t *ha, struct mbuf **m_headp, uint32_t txr_idx, in qla_send() argument
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()
1343 ha->tx_ring[txr_idx].count++; in qla_send()
1345 ha->tx_ring[txr_idx].iscsi_pkt_count++; in qla_send()
1346 ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head = m_head; in qla_send()
1364 "qla%d_fp%d_tx_mq_lock", ha->pci_func, fp->txr_idx); in qla_alloc_tx_br()
1372 " fp[%d, %d]\n", ha->pci_func, fp->txr_idx)); in qla_alloc_tx_br()
1410 uint32_t txr_idx; in qla_fp_taskqueue() local
1423 txr_idx = fp->txr_idx; in qla_fp_taskqueue()
1434 rx_pkts_left = ql_rcv_isr(ha, fp->txr_idx, 64); in qla_fp_taskqueue()
1437 ql_hw_tx_done_locked(ha, fp->txr_idx); in qla_fp_taskqueue()
1438 ql_hw_tx_done_locked(ha, (fp->txr_idx + (ha->hw.num_tx_rings >> 1))); 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()
1459 ret = qla_send(ha, &mp, txr_idx, iscsi_pdu); in qla_fp_taskqueue()
1496 QL_ENABLE_INTERRUPTS(ha, fp->txr_idx); in qla_fp_taskqueue()