Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c193 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); in refill_rspq()
290 q->cntxt_id >= FW_TUNNEL_SGEEC_START; in free_tx_desc()
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()
1057 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); in check_ring_tx_db()
1294 dev->name, q->cntxt_id & 7); in t3_eth_xmit()
2262 V_EGRCNTX(txq->cntxt_id)); in check_ring_db()
2273 V_EGRCNTX(txq->cntxt_id)); in check_ring_db()
2980 if (status & (1 << qs->rspq.cntxt_id)) { in sge_timer_rx()
[all …]
H A 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
H A Dcxgb3_ioctl.h61 uint32_t cntxt_id; member
H A Dcxgb3_main.c600 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | V_EGRCNTX(qs->txq[j].cntxt_id)); in ring_dbs()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c551 QID_V(fl->cntxt_id) | val); in ring_fl_db()
979 QID_V(tq->cntxt_id) | val); in ring_tx_db()
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()
2493 txq->q.cntxt_id, in t4vf_sge_alloc_eth_txq()
2518 tq->cntxt_id = 0; in free_txq()
2534 rspq->cntxt_id, flid, 0xffff); in free_rspq_fl()
2539 rspq->cntxt_id = 0; in free_rspq_fl()
[all …]
H A 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
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A 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()
H A Dsge.c4478 iq->cntxt_id, in t4_sge_alloc_rxq()
4505 fl->cntxt_id, in t4_sge_alloc_rxq()
4543 iq->cntxt_id, -ret); in t4_sge_alloc_rxq()
4568 q->cntxt_id = id; in init_txq()
4570 q->cntxt_id, in init_txq()
4859 q->cntxt_id = 0; in free_txq()
4886 fl->cntxt_id = 0; in free_rspq_fl()
4911 txq->q.cntxt_id); in t4_sge_free_ethofld_txq()
4936 eq->rspq.cntxt_id, in t4_free_sge_resources()
4955 etq->q.cntxt_id); in t4_free_sge_resources()
[all …]
H A Dsched.h65 unsigned int cntxt_id; member
H A 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()
H A 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 …]
H A Dcudbg_entity.h198 u32 cntxt_id; member
H A Dcxgb4_main.c251 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in dcb_tx_queue_prio_enable()
962 INGRESSQID_V(q->cntxt_id)); in cxgb4_enable_rx()
1094 q->rspq.cntxt_id, in setup_sge_queues()
1106 cmplqid = rxq_info->uldrxq[i].rspq.cntxt_id; in setup_sge_queues()
1109 s->fw_evtq.cntxt_id, cmplqid); in setup_sge_queues()
1117 , s->fw_evtq.cntxt_id, false); in setup_sge_queues()
1258 FW_PARAMS_PARAM_YZ_V(q->cntxt_id); in cxgb4_set_rspq_intr_params()
2442 QID_V(q->cntxt_id) | PIDX_V(q->db_pidx_inc)); in enable_txq_db()
2525 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); in sync_txq_pidx()
2543 QID_V(q->cntxt_id) | val); in sync_txq_pidx()
H A 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
H A Dcxgb4_tc_mqprio.c218 eorxq->rspq.cntxt_id); in cxgb4_mqprio_alloc_hw_resources()
H A Dcudbg_lib.c2377 buff->cntxt_id = j; in cudbg_get_sge_ctxt_fw()
2382 buff->cntxt_id = j; in cudbg_get_sge_ctxt_fw()
2485 buff->cntxt_id = j; in cudbg_collect_dump_context()
H A Dcxgb4_ethtool.c1098 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in set_dbqtimer()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c582 int qid = q->q.cntxt_id; in ch_ipsec_crypto_wreq()