Lines Matching defs:qid
578 unsigned int qid = EGR_QID_G(ntohl(p->opcode_qid));
581 txq = q->adap->sge.egr_map[qid - q->adap->sge.egr_start];
905 * Return the channel of the ingress queue with the given qid.
907 static unsigned int rxq_to_chan(const struct sge *p, unsigned int qid)
909 qid -= p->ingr_start;
910 return netdev2pinfo(p->ingr_map[qid]->netdev)->tx_chan;
2211 static int read_eq_indices(struct adapter *adap, u16 qid, u16 *pidx, u16 *cidx)
2213 u32 addr = t4_read_reg(adap, SGE_DBQ_CTXT_BADDR_A) + 24 * qid + 8;
2229 int cxgb4_sync_txq_pidx(struct net_device *dev, u16 qid, u16 pidx,
2236 ret = read_eq_indices(adap, qid, &hw_pidx, &hw_cidx);
2255 QID_V(qid) | val);
2352 unsigned int qid,
2359 qid,
2590 u16 qid = (dropped_db >> 15) & 0x1ffff;
2596 ret = t4_bar2_sge_qregs(adap, qid, T4_BAR2_QTYPE_EGRESS,
2600 "qid=%d, pidx_inc=%d\n", qid, pidx_inc);