Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c198 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); in refill_rspq()
295 q->cntxt_id >= FW_TUNNEL_SGEEC_START; in free_tx_desc()
491 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); in ring_fl_db()
685 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); in t3_free_qset()
698 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); in t3_free_qset()
714 t3_sge_disable_rspcntxt(adapter, q->rspq.cntxt_id); in t3_free_qset()
733 qs->rspq.cntxt_id = id; in init_qset_cntxt()
734 qs->fl[0].cntxt_id = 2 * id; in init_qset_cntxt()
735 qs->fl[1].cntxt_id = 2 * id + 1; in init_qset_cntxt()
736 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.c600 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | V_EGRCNTX(qs->txq[j].cntxt_id)); in ring_dbs()
/linux-5.19.10/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()
1362 T4_TRACE5(adapter->tb[txq->q.cntxt_id & 7], in t4vf_eth_xmit()
1909 val | INGRESSQID_V((u32)rspq->cntxt_id)); in napi_rx_handler()
2011 val | INGRESSQID_V(intrq->cntxt_id)); in process_intrq()
2344 rspq->cntxt_id = be16_to_cpu(rpl.iqid); in t4vf_sge_alloc_rxq()
2346 rspq->cntxt_id, in t4vf_sge_alloc_rxq()
2359 fl->cntxt_id = be16_to_cpu(rpl.fl0id); in t4vf_sge_alloc_rxq()
2372 fl->cntxt_id, in t4vf_sge_alloc_rxq()
[all …]
Dadapter.h140 unsigned int cntxt_id; /* SGE relative QID for the free list */ member
184 u16 cntxt_id; /* SGE rel QID for the response Q */ member
246 unsigned int cntxt_id; /* SGE relative QID for the TX Q */ member
Dcxgb4vf_main.c444 INGRESSQID_V(rspq->cntxt_id)); in qenable()
467 INGRESSQID_V(s->intrq.cntxt_id)); in enable_rx()
645 s->fw_evtq.cntxt_id); in setup_sge_queues()
657 s->egr_base = s->ethtxq[0].q.abs_id - s->ethtxq[0].q.cntxt_id; in setup_sge_queues()
658 s->ingr_base = s->ethrxq[0].rspq.abs_id - s->ethrxq[0].rspq.cntxt_id; in setup_sge_queues()
680 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base; in setup_sge_queues()
1102 FW_PARAMS_PARAM_YZ_V(rspq->cntxt_id); in set_rxq_intr_params()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c93 fw_param = (fw_mnem | FW_PARAMS_PARAM_YZ_V(qe->cntxt_id)); in t4_sched_bind_unbind_op()
140 if (qe->cntxt_id == val) { in t4_sched_entry_lookup()
181 qe = t4_sched_entry_lookup(pi, SCHED_QUEUE, txq->q.cntxt_id); in cxgb4_sched_queue_lookup()
199 qe = t4_sched_entry_lookup(pi, SCHED_QUEUE, txq->q.cntxt_id); in t4_sched_queue_unbind()
233 qid = txq->q.cntxt_id; in t4_sched_queue_bind()
241 qe->cntxt_id = qid; in t4_sched_queue_bind()
Dcudbg_lib.h246 entry->qid = txq->cntxt_id; in cudbg_fill_qdesc_txq()
258 entry->qid = rxq->cntxt_id; in cudbg_fill_qdesc_rxq()
270 entry->qid = flq->cntxt_id; in cudbg_fill_qdesc_flq()
Dsge.c500 val | QID_V(q->cntxt_id)); in ring_fl_db()
547 if (test_bit(q->cntxt_id - adap->sge.egr_start, adap->sge.blocked_fl)) in refill_fl()
625 set_bit(q->cntxt_id - adap->sge.egr_start, in refill_fl()
1045 QID_V(q->cntxt_id) | val); in cxgb4_ring_tx_db()
2911 set_bit(q->q.cntxt_id - q->adap->sge.egr_start, in txq_stop_maperr()
4028 val | INGRESSQID_V((u32)q->cntxt_id)); in napi_rx_handler()
4190 val | INGRESSQID_V(q->cntxt_id)); in process_intrq()
4475 iq->cntxt_id = ntohs(c.iqid); in t4_sge_alloc_rxq()
4478 iq->cntxt_id, in t4_sge_alloc_rxq()
4492 adap->sge.ingr_map[iq->cntxt_id - adap->sge.ingr_start] = iq; in t4_sge_alloc_rxq()
[all …]
Dsched.h65 unsigned int cntxt_id; member
Dcxgb4_uld.c191 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues_uld()
194 FW_PARAMS_PARAM_YZ_V(s->ctrlq[i].q.cntxt_id)); in setup_sge_queues_uld()
225 FW_PARAMS_PARAM_YZ_V(s->ctrlq[i].q.cntxt_id)); in free_sge_queues_uld()
412 txq->q.cntxt_id); in free_sge_txq_uld()
435 s->fw_evtq.cntxt_id, uld_type); in alloc_sge_txq_uld()
Dcxgb4_debugfs.c2694 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2715 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2774 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2817 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2829 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
2925 T("TxQ ID:", q.cntxt_id); in sge_qinfo_show()
2952 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
3002 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
3028 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
3054 R("FL ID:", fl.cntxt_id); in sge_qinfo_show()
[all …]
Dcudbg_entity.h198 u32 cntxt_id; member
Dcxgb4_main.c252 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in dcb_tx_queue_prio_enable()
963 INGRESSQID_V(q->cntxt_id)); in cxgb4_enable_rx()
1095 q->rspq.cntxt_id, in setup_sge_queues()
1107 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues()
1110 s->fw_evtq.cntxt_id, cmplqid); in setup_sge_queues()
1118 , s->fw_evtq.cntxt_id, false); in setup_sge_queues()
1259 FW_PARAMS_PARAM_YZ_V(q->cntxt_id); in cxgb4_set_rspq_intr_params()
2443 QID_V(q->cntxt_id) | PIDX_V(q->db_pidx_inc)); in enable_txq_db()
2526 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
2544 QID_V(q->cntxt_id) | val); in sync_txq_pidx()
Dcxgb4.h744 unsigned int cntxt_id; /* SGE context id for the free list */ member
786 u16 cntxt_id; /* SGE context id for the response q */ member
851 unsigned int cntxt_id; /* SGE context id for the Tx q */ member
Dcxgb4_tc_mqprio.c218 eorxq->rspq.cntxt_id); in cxgb4_mqprio_alloc_hw_resources()
Dcudbg_lib.c2376 buff->cntxt_id = j; in cudbg_get_sge_ctxt_fw()
2381 buff->cntxt_id = j; in cudbg_get_sge_ctxt_fw()
2484 buff->cntxt_id = j; in cudbg_collect_dump_context()
Dcxgb4_ethtool.c1098 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in set_dbqtimer()
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c758 ULP_TXPKT_FID_V(q->q.cntxt_id) | in __chcr_write_cpl_set_tcb_ulp()
1166 ULP_TXPKT_FID_V(q->q.cntxt_id) | in chcr_ktls_xmit_wr_complete()
1348 ULP_TXPKT_FID_V(q->q.cntxt_id) | in chcr_ktls_xmit_wr_short()
1526 ULP_TXPKT_FID_V(q->q.cntxt_id) | ULP_TXPKT_RO_V(1)); in chcr_ktls_tx_plaintxt()
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c576 int qid = q->q.cntxt_id; in ch_ipsec_crypto_wreq()