Searched refs:itrq (Results 1 – 5 of 5) sorted by relevance
705 i40e_alloc_rx_data(i40e_t *i40e, i40e_trqpair_t *itrq) in i40e_alloc_rx_data() argument712 itrq->itrq_rxdata = rxd; in i40e_alloc_rx_data()725 itrq->itrq_index); in i40e_alloc_rx_data()733 "for ring %d", rxd->rxd_free_list_size, itrq->itrq_index); in i40e_alloc_rx_data()742 itrq->itrq_index); in i40e_alloc_rx_data()750 itrq->itrq_rxdata = NULL; in i40e_alloc_rx_data()882 i40e_free_tx_dma(i40e_trqpair_t *itrq) in i40e_free_tx_dma() argument886 if (itrq->itrq_tcb_area != NULL) { in i40e_free_tx_dma()888 i40e_tx_control_block_t *tcb = itrq->itrq_tcb_area; in i40e_free_tx_dma()890 for (i = 0; i < itrq->itrq_tx_free_list_size; i++, tcb++) { in i40e_free_tx_dma()[all …]
528 i40e_intr_rx_queue_enable(i40e_trqpair_t *itrq) in i40e_intr_rx_queue_enable() argument531 uint_t queue = itrq->itrq_index; in i40e_intr_rx_queue_enable()532 i40e_hw_t *hw = &itrq->itrq_i40e->i40e_hw_space; in i40e_intr_rx_queue_enable()534 ASSERT(MUTEX_HELD(&itrq->itrq_rx_lock)); in i40e_intr_rx_queue_enable()535 ASSERT(queue < itrq->itrq_i40e->i40e_num_trqpairs); in i40e_intr_rx_queue_enable()549 i40e_intr_rx_queue_disable(i40e_trqpair_t *itrq) in i40e_intr_rx_queue_disable() argument552 uint_t queue = itrq->itrq_index; in i40e_intr_rx_queue_disable()553 i40e_hw_t *hw = &itrq->itrq_i40e->i40e_hw_space; in i40e_intr_rx_queue_disable()555 ASSERT(MUTEX_HELD(&itrq->itrq_rx_lock)); in i40e_intr_rx_queue_disable()556 ASSERT(queue < itrq->itrq_i40e->i40e_num_trqpairs); in i40e_intr_rx_queue_disable()[all …]
1139 i40e_trqpair_t *itrq; in i40e_free_trqpairs() local1149 itrq = &i40e->i40e_trqpairs[i]; in i40e_free_trqpairs()1150 mutex_destroy(&itrq->itrq_intr_lock); in i40e_free_trqpairs()1151 mutex_destroy(&itrq->itrq_rx_lock); in i40e_free_trqpairs()1152 mutex_destroy(&itrq->itrq_tx_lock); in i40e_free_trqpairs()1153 mutex_destroy(&itrq->itrq_tcb_lock); in i40e_free_trqpairs()1154 cv_destroy(&itrq->itrq_intr_cv); in i40e_free_trqpairs()1155 cv_destroy(&itrq->itrq_tx_cv); in i40e_free_trqpairs()1157 i40e_stats_trqpair_fini(itrq); in i40e_free_trqpairs()1190 i40e_trqpair_t *itrq = &i40e->i40e_trqpairs[i]; in i40e_alloc_trqpairs() local[all …]
439 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh; in i40e_ring_start() local442 if ((rv = i40e_setup_ring(itrq)) != 0) in i40e_ring_start()449 mutex_enter(&itrq->itrq_rx_lock); in i40e_ring_start()450 itrq->itrq_rxgen = gen_num; in i40e_ring_start()451 mutex_exit(&itrq->itrq_rx_lock); in i40e_ring_start()458 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh; in i40e_ring_stop() local460 if (!i40e_shutdown_ring(itrq)) { in i40e_ring_stop()461 i40e_t *i40e = itrq->itrq_i40e; in i40e_ring_stop()464 i40e_error(i40e, "Failed to stop ring %u", itrq->itrq_index); in i40e_ring_stop()472 i40e_trqpair_t *itrq = (i40e_trqpair_t *)intrh; in i40e_rx_ring_intr_enable() local[all …]
1127 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh; in i40e_rx_ring_stat() local1128 i40e_t *i40e = itrq->itrq_i40e; in i40e_rx_ring_stat()1136 *val = itrq->itrq_rxstat.irxs_bytes.value.ui64; in i40e_rx_ring_stat()1139 *val = itrq->itrq_rxstat.irxs_packets.value.ui64; in i40e_rx_ring_stat()1152 i40e_trqpair_t *itrq = (i40e_trqpair_t *)rh; in i40e_tx_ring_stat() local1153 i40e_t *i40e = itrq->itrq_i40e; in i40e_tx_ring_stat()1161 *val = itrq->itrq_txstat.itxs_bytes.value.ui64; in i40e_tx_ring_stat()1164 *val = itrq->itrq_txstat.itxs_packets.value.ui64; in i40e_tx_ring_stat()1181 i40e_stats_trqpair_fini(i40e_trqpair_t *itrq) in i40e_stats_trqpair_fini() argument1183 if (itrq->itrq_txkstat != NULL) { in i40e_stats_trqpair_fini()[all …]