Lines Matching refs:ofld_txq

1123 	struct sge_ofld_txq *ofld_txq;  in t4_setup_vi_queues()  local
1205 for_each_ofld_txq(vi, i, ofld_txq) { in t4_setup_vi_queues()
1206 rc = alloc_ofld_txq(vi, ofld_txq, i); in t4_setup_vi_queues()
1228 struct sge_ofld_txq *ofld_txq; in t4_teardown_vi_queues() local
1259 for_each_ofld_txq(vi, i, ofld_txq) { in t4_teardown_vi_queues()
1260 free_ofld_txq(vi, ofld_txq); in t4_teardown_vi_queues()
4818 alloc_ofld_txq(struct vi_info *vi, struct sge_ofld_txq *ofld_txq, int idx) in alloc_ofld_txq() argument
4823 struct sge_eq *eq = &ofld_txq->wrq.eq; in alloc_ofld_txq()
4848 rc = alloc_wrq(sc, vi, &ofld_txq->wrq, &vi->ctx, oid); in alloc_ofld_txq()
4858 ofld_txq->tx_iscsi_pdus = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4859 ofld_txq->tx_iscsi_octets = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4860 ofld_txq->tx_iscsi_iso_wrs = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4861 ofld_txq->tx_aio_jobs = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4862 ofld_txq->tx_aio_octets = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4863 ofld_txq->tx_toe_tls_records = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4864 ofld_txq->tx_toe_tls_octets = counter_u64_alloc(M_WAITOK); in alloc_ofld_txq()
4865 add_ofld_txq_sysctls(&vi->ctx, oid, ofld_txq); in alloc_ofld_txq()
4870 MPASS(ofld_txq->wrq.nwr_pending == 0); in alloc_ofld_txq()
4871 MPASS(ofld_txq->wrq.ndesc_needed == 0); in alloc_ofld_txq()
4888 free_ofld_txq(struct vi_info *vi, struct sge_ofld_txq *ofld_txq) in free_ofld_txq() argument
4891 struct sge_eq *eq = &ofld_txq->wrq.eq; in free_ofld_txq()
4901 counter_u64_free(ofld_txq->tx_iscsi_pdus); in free_ofld_txq()
4902 counter_u64_free(ofld_txq->tx_iscsi_octets); in free_ofld_txq()
4903 counter_u64_free(ofld_txq->tx_iscsi_iso_wrs); in free_ofld_txq()
4904 counter_u64_free(ofld_txq->tx_aio_jobs); in free_ofld_txq()
4905 counter_u64_free(ofld_txq->tx_aio_octets); in free_ofld_txq()
4906 counter_u64_free(ofld_txq->tx_toe_tls_records); in free_ofld_txq()
4907 counter_u64_free(ofld_txq->tx_toe_tls_octets); in free_ofld_txq()
4908 free_wrq(sc, &ofld_txq->wrq); in free_ofld_txq()
4910 bzero(ofld_txq, sizeof(*ofld_txq)); in free_ofld_txq()
4916 struct sge_ofld_txq *ofld_txq) in add_ofld_txq_sysctls() argument
4925 CTLFLAG_RD, &ofld_txq->tx_iscsi_pdus, in add_ofld_txq_sysctls()
4928 CTLFLAG_RD, &ofld_txq->tx_iscsi_octets, in add_ofld_txq_sysctls()
4931 CTLFLAG_RD, &ofld_txq->tx_iscsi_iso_wrs, in add_ofld_txq_sysctls()
4934 CTLFLAG_RD, &ofld_txq->tx_aio_jobs, in add_ofld_txq_sysctls()
4937 CTLFLAG_RD, &ofld_txq->tx_aio_octets, in add_ofld_txq_sysctls()
4940 CTLFLAG_RD, &ofld_txq->tx_toe_tls_records, in add_ofld_txq_sysctls()
4943 CTLFLAG_RD, &ofld_txq->tx_toe_tls_octets, in add_ofld_txq_sysctls()
6869 cst->eo_txq = &sc->sge.ofld_txq[vi->first_ofld_txq]; in ethofld_transmit()