Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_netmap.c213 alloc_nm_txq(struct vi_info *vi, struct sge_nm_txq *nm_txq, int iqidx, int idx) in alloc_nm_txq() argument
225 rc = alloc_ring(sc, len, &nm_txq->desc_tag, &nm_txq->desc_map, in alloc_nm_txq()
226 &nm_txq->ba, (void **)&nm_txq->desc); in alloc_nm_txq()
230 nm_txq->pidx = nm_txq->cidx = 0; in alloc_nm_txq()
231 nm_txq->sidx = na->num_tx_desc; in alloc_nm_txq()
232 nm_txq->nid = idx; in alloc_nm_txq()
233 nm_txq->iqidx = iqidx; in alloc_nm_txq()
234 nm_txq->cpl_ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT) | in alloc_nm_txq()
238 nm_txq->op_pkd = htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS2_WR)); in alloc_nm_txq()
240 nm_txq->op_pkd = htobe32(V_FW_WR_OP(FW_ETH_TX_PKTS_WR)); in alloc_nm_txq()
[all …]
H A Dadapter.h850 struct sge_nm_txq *nm_txq; /* netmap tx queues */ member
1093 for (q = &vi->adapter->sge.nm_txq[vi->first_nm_txq], iter = 0; \
H A Dt4_sge.c1120 struct sge_nm_txq *nm_txq; in t4_setup_vi_queues() local
1149 for_each_nm_txq(vi, i, nm_txq) { in t4_setup_vi_queues()
1151 rc = alloc_nm_txq(vi, nm_txq, iqidx, i); in t4_setup_vi_queues()
1227 struct sge_nm_txq *nm_txq; in t4_teardown_vi_queues() local
1232 for_each_nm_txq(vi, i, nm_txq) { in t4_teardown_vi_queues()
1233 free_nm_txq(vi, nm_txq); in t4_teardown_vi_queues()
H A Dt4_main.c1518 s->nm_txq = malloc(s->nnmtxq * sizeof(struct sge_nm_txq), in t4_attach()
1864 free(sc->sge.nm_txq, M_CXGBE); in t4_detach_common()