Lines Matching refs:nm_txq
1104 struct sge_nm_txq *nm_txq;
1138 oid = SYSCTL_ADD_NODE(&vi->ctx, children, OID_AUTO, "nm_txq",
1140 for_each_nm_txq(vi, i, nm_txq) {
1142 rc = alloc_nm_txq(vi, nm_txq, iqidx, i, oid);
1261 struct sge_nm_txq *nm_txq;
1272 for_each_nm_txq(vi, i, nm_txq) {
1273 free_nm_txq(vi, nm_txq);
3369 alloc_nm_txq(struct vi_info *vi, struct sge_nm_txq *nm_txq, int iqidx, int idx,
3381 rc = alloc_ring(sc, len, &nm_txq->desc_tag, &nm_txq->desc_map,
3382 &nm_txq->ba, (void **)&nm_txq->desc);
3386 nm_txq->pidx = nm_txq->cidx = 0;
3387 nm_txq->sidx = na->num_tx_desc;
3388 nm_txq->nid = idx;
3389 nm_txq->iqidx = iqidx;
3390 nm_txq->cpl_ctrl0 = htobe32(V_TXPKT_OPCODE(CPL_TX_PKT) |
3400 &nm_txq->cntxt_id, 0, "SGE context id of the queue");
3402 CTLTYPE_INT | CTLFLAG_RD, &nm_txq->cidx, 0, sysctl_uint16, "I",
3405 CTLTYPE_INT | CTLFLAG_RD, &nm_txq->pidx, 0, sysctl_uint16, "I",
3412 free_nm_txq(struct vi_info *vi, struct sge_nm_txq *nm_txq)
3416 free_ring(sc, nm_txq->desc_tag, nm_txq->desc_map, nm_txq->ba,
3417 nm_txq->desc);