Home
last modified time | relevance | path

Searched refs:cntxt_id (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c196 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); in refill_rspq()
293 q->cntxt_id >= FW_TUNNEL_SGEEC_START; in free_tx_desc()
485 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); in ring_fl_db()
680 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); in t3_free_qset()
693 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); in t3_free_qset()
709 t3_sge_disable_rspcntxt(adapter, q->rspq.cntxt_id); in t3_free_qset()
728 qs->rspq.cntxt_id = id; in init_qset_cntxt()
729 qs->fl[0].cntxt_id = 2 * id; in init_qset_cntxt()
730 qs->fl[1].cntxt_id = 2 * id + 1; in init_qset_cntxt()
731 qs->txq[TXQ_ETH].cntxt_id = FW_TUNNEL_SGEEC_START + id; in init_qset_cntxt()
[all …]
Dadapter.h117 unsigned int cntxt_id; /* SGE context id for the free list */ member
142 unsigned int cntxt_id; /* SGE context id for the response q */ member
182 unsigned int cntxt_id; /* SGE context id for the Tx q */ member
Dcxgb3_ioctl.h61 uint32_t cntxt_id; member
Dcxgb3_main.c602 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | V_EGRCNTX(qs->txq[j].cntxt_id)); in ring_dbs()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c551 QID_V(fl->cntxt_id) | val); in ring_fl_db()
715 set_bit(fl->cntxt_id, adapter->sge.starving_fl); in refill_fl()
984 QID_V(tq->cntxt_id) | val); in ring_tx_db()
1366 T4_TRACE5(adapter->tb[txq->q.cntxt_id & 7], in t4vf_eth_xmit()
1908 val | INGRESSQID_V((u32)rspq->cntxt_id)); in napi_rx_handler()
2010 val | INGRESSQID_V(intrq->cntxt_id)); in process_intrq()
2341 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq()
2343 rspq->cntxt_id, in t4vf_sge_alloc_rxq()
2356 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq()
2369 fl->cntxt_id, in t4vf_sge_alloc_rxq()
[all …]
Dadapter.h138 unsigned int cntxt_id; /* SGE relative QID for the free list */ member
182 u16 cntxt_id; /* SGE rel QID for the response Q */ member
244 unsigned int cntxt_id; /* SGE relative QID for the TX Q */ member
Dcxgb4vf_main.c382 INGRESSQID_V(rspq->cntxt_id)); in qenable()
405 INGRESSQID_V(s->intrq.cntxt_id)); in enable_rx()
583 s->fw_evtq.cntxt_id); in setup_sge_queues()
595 s->egr_base = s->ethtxq[0].q.abs_id - s->ethtxq[0].q.cntxt_id; in setup_sge_queues()
596 s->ingr_base = s->ethrxq[0].rspq.abs_id - s->ethrxq[0].rspq.cntxt_id; in setup_sge_queues()
618 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base; in setup_sge_queues()
1042 FW_PARAMS_PARAM_YZ_V(rspq->cntxt_id); in set_rxq_intr_params()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c543 val | QID_V(q->cntxt_id)); in ring_fl_db()
590 if (test_bit(q->cntxt_id - adap->sge.egr_start, adap->sge.blocked_fl)) in refill_fl()
668 set_bit(q->cntxt_id - adap->sge.egr_start, in refill_fl()
951 QID_V(q->cntxt_id) | val); in ring_tx_db()
1578 set_bit(q->q.cntxt_id - q->adap->sge.egr_start, in txq_stop_maperr()
2475 val | INGRESSQID_V((u32)q->cntxt_id)); in napi_rx_handler()
2530 val | INGRESSQID_V(q->cntxt_id)); in process_intrq()
2812 iq->cntxt_id = ntohs(c.iqid); in t4_sge_alloc_rxq()
2815 iq->cntxt_id, in t4_sge_alloc_rxq()
2829 adap->sge.ingr_map[iq->cntxt_id - adap->sge.ingr_start] = iq; in t4_sge_alloc_rxq()
[all …]
Dsched.c93 fw_param = (fw_mnem | FW_PARAMS_PARAM_YZ_V(qe->cntxt_id)); in t4_sched_bind_unbind_op()
129 if (qe->cntxt_id == qid) { in t4_sched_queue_lookup()
159 qid = txq->q.cntxt_id; in t4_sched_queue_unbind()
209 qid = txq->q.cntxt_id; in t4_sched_queue_bind()
220 qe->cntxt_id = qid; in t4_sched_queue_bind()
Dcxgb4_uld.c220 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues_uld()
223 FW_PARAMS_PARAM_YZ_V(s->ctrlq[i].q.cntxt_id)); in setup_sge_queues_uld()
254 FW_PARAMS_PARAM_YZ_V(s->ctrlq[i].q.cntxt_id)); in free_sge_queues_uld()
421 INGRESSQID_V(q->cntxt_id)); in enable_rx()
460 txq->q.cntxt_id); in free_sge_txq_uld()
483 s->fw_evtq.cntxt_id, uld_type); in alloc_sge_txq_uld()
Dsched.h63 unsigned int cntxt_id; member
Dcxgb4_main.c240 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in dcb_tx_queue_prio_enable()
793 INGRESSQID_V(q->cntxt_id)); in enable_rx()
862 s->fw_evtq.cntxt_id); in setup_sge_queues()
873 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues()
876 s->fw_evtq.cntxt_id, cmplqid); in setup_sge_queues()
884 , s->fw_evtq.cntxt_id); in setup_sge_queues()
1005 FW_PARAMS_PARAM_YZ_V(q->cntxt_id); in cxgb4_set_rspq_intr_params()
1886 QID_V(q->cntxt_id) | PIDX_V(q->db_pidx_inc)); in enable_txq_db()
1969 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
1987 QID_V(q->cntxt_id) | val); in sync_txq_pidx()
Dcxgb4.h571 unsigned int cntxt_id; /* SGE context id for the free list */ member
613 u16 cntxt_id; /* SGE context id for the response q */ member
670 unsigned int cntxt_id; /* SGE context id for the Tx q */ member
Dcxgb4_debugfs.c2468 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2490 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2519 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()