Home
last modified time | relevance | path

Searched refs:nm_txq (Results 1 – 4 of 4) sorted by relevance

/freebsd-11-stable/sys/dev/cxgbe/
HDt4_netmap.c225 alloc_nm_txq_hwq(struct vi_info *vi, struct sge_nm_txq *nm_txq) in alloc_nm_txq_hwq() argument
234 MPASS(nm_txq->desc != NULL); in alloc_nm_txq_hwq()
237 bzero(nm_txq->desc, len); in alloc_nm_txq_hwq()
250 V_FW_EQ_ETH_CMD_IQID(sc->sge.nm_rxq[nm_txq->iqidx].iq_cntxt_id)); in alloc_nm_txq_hwq()
256 c.eqaddr = htobe64(nm_txq->ba); in alloc_nm_txq_hwq()
265 nm_txq->cntxt_id = G_FW_EQ_ETH_CMD_EQID(be32toh(c.eqid_pkd)); in alloc_nm_txq_hwq()
266 cntxt_id = nm_txq->cntxt_id - sc->sge.eq_start; in alloc_nm_txq_hwq()
270 sc->sge.eqmap[cntxt_id] = (void *)nm_txq; in alloc_nm_txq_hwq()
272 nm_txq->pidx = nm_txq->cidx = 0; in alloc_nm_txq_hwq()
273 MPASS(nm_txq->sidx == na->num_tx_desc); in alloc_nm_txq_hwq()
[all …]
HDt4_sge.c1104 struct sge_nm_txq *nm_txq; in t4_setup_vi_queues() local
1140 for_each_nm_txq(vi, i, nm_txq) { in t4_setup_vi_queues()
1142 rc = alloc_nm_txq(vi, nm_txq, iqidx, i, oid); in t4_setup_vi_queues()
1261 struct sge_nm_txq *nm_txq; in t4_teardown_vi_queues() local
1272 for_each_nm_txq(vi, i, nm_txq) { in t4_teardown_vi_queues()
1273 free_nm_txq(vi, nm_txq); in t4_teardown_vi_queues()
3369 alloc_nm_txq(struct vi_info *vi, struct sge_nm_txq *nm_txq, int iqidx, int idx, in alloc_nm_txq() argument
3381 rc = alloc_ring(sc, len, &nm_txq->desc_tag, &nm_txq->desc_map, in alloc_nm_txq()
3382 &nm_txq->ba, (void **)&nm_txq->desc); in alloc_nm_txq()
3386 nm_txq->pidx = nm_txq->cidx = 0; in alloc_nm_txq()
[all …]
HDadapter.h747 struct sge_nm_txq *nm_txq; /* netmap tx queues */ member
947 for (q = &vi->pi->adapter->sge.nm_txq[vi->first_nm_txq], iter = 0; \
HDt4_main.c1204 s->nm_txq = malloc(s->nnmtxq * sizeof(struct sge_nm_txq), in t4_attach()
1533 free(sc->sge.nm_txq, M_CXGBE); in t4_detach_common()