Home
last modified time | relevance | path

Searched refs:cntxt_id (Results 1 – 21 of 21) 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()
489 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); in ring_fl_db()
683 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); in t3_free_qset()
696 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); in t3_free_qset()
712 t3_sge_disable_rspcntxt(adapter, q->rspq.cntxt_id); in t3_free_qset()
731 qs->rspq.cntxt_id = id; in init_qset_cntxt()
732 qs->fl[0].cntxt_id = 2 * id; in init_qset_cntxt()
733 qs->fl[1].cntxt_id = 2 * id + 1; in init_qset_cntxt()
734 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()
/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.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()
/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()
2909 set_bit(q->q.cntxt_id - q->adap->sge.egr_start, in txq_stop_maperr()
4026 val | INGRESSQID_V((u32)q->cntxt_id)); in napi_rx_handler()
4188 val | INGRESSQID_V(q->cntxt_id)); in process_intrq()
4473 iq->cntxt_id = ntohs(c.iqid); in t4_sge_alloc_rxq()
4476 iq->cntxt_id, in t4_sge_alloc_rxq()
4490 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.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()
Dcxgb4_ethtool.c1094 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); in set_dbqtimer()
/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()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c576 int qid = q->q.cntxt_id; in ch_ipsec_crypto_wreq()