Home
last modified time | relevance | path

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

/Linux-v5.4/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()
490 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); in ring_fl_db()
684 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); in t3_free_qset()
697 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); in t3_free_qset()
713 t3_sge_disable_rspcntxt(adapter, q->rspq.cntxt_id); in t3_free_qset()
732 qs->rspq.cntxt_id = id; in init_qset_cntxt()
733 qs->fl[0].cntxt_id = 2 * id; in init_qset_cntxt()
734 qs->fl[1].cntxt_id = 2 * id + 1; in init_qset_cntxt()
735 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.c601 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | V_EGRCNTX(qs->txq[j].cntxt_id)); in ring_dbs()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c91 fw_param = (fw_mnem | FW_PARAMS_PARAM_YZ_V(qe->cntxt_id)); in t4_sched_bind_unbind_op()
127 if (qe->cntxt_id == qid) { in t4_sched_queue_lookup()
157 qid = txq->q.cntxt_id; in t4_sched_queue_unbind()
202 qid = txq->q.cntxt_id; in t4_sched_queue_bind()
210 qe->cntxt_id = qid; in t4_sched_queue_bind()
Dsge.c556 val | QID_V(q->cntxt_id)); in ring_fl_db()
603 if (test_bit(q->cntxt_id - adap->sge.egr_start, adap->sge.blocked_fl)) in refill_fl()
681 set_bit(q->cntxt_id - adap->sge.egr_start, in refill_fl()
980 QID_V(q->cntxt_id) | val); in cxgb4_ring_tx_db()
2221 set_bit(q->q.cntxt_id - q->adap->sge.egr_start, in txq_stop_maperr()
3305 val | INGRESSQID_V((u32)q->cntxt_id)); in napi_rx_handler()
3360 val | INGRESSQID_V(q->cntxt_id)); in process_intrq()
3645 iq->cntxt_id = ntohs(c.iqid); in t4_sge_alloc_rxq()
3648 iq->cntxt_id, in t4_sge_alloc_rxq()
3662 adap->sge.ingr_map[iq->cntxt_id - adap->sge.ingr_start] = iq; in t4_sge_alloc_rxq()
[all …]
Dcudbg_lib.h242 entry->qid = txq->cntxt_id; in cudbg_fill_qdesc_txq()
254 entry->qid = rxq->cntxt_id; in cudbg_fill_qdesc_rxq()
266 entry->qid = flq->cntxt_id; in cudbg_fill_qdesc_flq()
Dsched.h63 unsigned int cntxt_id; member
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()
430 INGRESSQID_V(q->cntxt_id)); in enable_rx()
469 txq->q.cntxt_id); in free_sge_txq_uld()
492 s->fw_evtq.cntxt_id, uld_type); in alloc_sge_txq_uld()
Dcxgb4_debugfs.c2714 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2735 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2772 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2799 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2849 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2875 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2901 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2923 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2935 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2952 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
Dcudbg_entity.h198 u32 cntxt_id; member
Dcxgb4_main.c249 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in dcb_tx_queue_prio_enable()
950 INGRESSQID_V(q->cntxt_id)); in enable_rx()
1021 q->rspq.cntxt_id, in setup_sge_queues()
1033 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues()
1036 s->fw_evtq.cntxt_id, cmplqid); in setup_sge_queues()
1044 , s->fw_evtq.cntxt_id, false); in setup_sge_queues()
1166 FW_PARAMS_PARAM_YZ_V(q->cntxt_id); in cxgb4_set_rspq_intr_params()
2045 QID_V(q->cntxt_id) | PIDX_V(q->db_pidx_inc)); in enable_txq_db()
2128 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
2146 QID_V(q->cntxt_id) | val); in sync_txq_pidx()
Dcxgb4.h643 unsigned int cntxt_id; /* SGE context id for the free list */ member
685 u16 cntxt_id; /* SGE context id for the response q */ member
743 unsigned int cntxt_id; /* SGE context id for the Tx q */ member
Dcudbg_lib.c1947 buff->cntxt_id = j; in cudbg_get_sge_ctxt_fw()
1952 buff->cntxt_id = j; in cudbg_get_sge_ctxt_fw()
2053 buff->cntxt_id = j; in cudbg_collect_dump_context()
Dcxgb4_ethtool.c1024 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in set_dbqtimer()
/Linux-v5.4/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()
979 QID_V(tq->cntxt_id) | val); in ring_tx_db()
1365 T4_TRACE5(adapter->tb[txq->q.cntxt_id & 7], in t4vf_eth_xmit()
1912 val | INGRESSQID_V((u32)rspq->cntxt_id)); in napi_rx_handler()
2014 val | INGRESSQID_V(intrq->cntxt_id)); in process_intrq()
2347 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq()
2349 rspq->cntxt_id, in t4vf_sge_alloc_rxq()
2362 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq()
2375 fl->cntxt_id, in t4vf_sge_alloc_rxq()
[all …]
Dadapter.h139 unsigned int cntxt_id; /* SGE relative QID for the free list */ member
183 u16 cntxt_id; /* SGE rel QID for the response Q */ member
245 unsigned int cntxt_id; /* SGE relative QID for the TX Q */ member
Dcxgb4vf_main.c446 INGRESSQID_V(rspq->cntxt_id)); in qenable()
469 INGRESSQID_V(s->intrq.cntxt_id)); in enable_rx()
647 s->fw_evtq.cntxt_id); in setup_sge_queues()
659 s->egr_base = s->ethtxq[0].q.abs_id - s->ethtxq[0].q.cntxt_id; in setup_sge_queues()
660 s->ingr_base = s->ethrxq[0].rspq.abs_id - s->ethrxq[0].rspq.cntxt_id; in setup_sge_queues()
682 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base; in setup_sge_queues()
1104 FW_PARAMS_PARAM_YZ_V(rspq->cntxt_id); in set_rxq_intr_params()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_ipsec.c545 int qid = q->q.cntxt_id; in chcr_crypto_wreq()