Home
last modified time | relevance | path

Searched refs:qcq (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.c140 if (!(qcq && qcq->pdsc)) in pdsc_qcq_free()
149 qcq->q_base, qcq->q_base_pa); in pdsc_qcq_free()
153 qcq->cq_base, qcq->cq_base_pa); in pdsc_qcq_free()
161 memset(qcq, 0, sizeof(*qcq)); in pdsc_qcq_free()
228 qcq->cq.bound_intr = &pdsc->intr_info[qcq->intx]; in pdsc_qcq_alloc()
240 qcq->q_size + qcq->cq_size, in pdsc_qcq_alloc()
261 qcq->q_base = dma_alloc_coherent(dev, qcq->q_size, in pdsc_qcq_alloc()
274 qcq->cq_base = dma_alloc_coherent(dev, qcq->cq_size, in pdsc_qcq_alloc()
286 qcq->cq.bound_q = &qcq->q; in pdsc_qcq_alloc()
293 dma_free_coherent(dev, qcq->q_size, qcq->q_base, qcq->q_base_pa); in pdsc_qcq_alloc()
[all …]
H A Ddebugfs.c112 struct pdsc_intr_info *intr = &pdsc->intr_info[qcq->intx]; in pdsc_debugfs_add_qcq()
113 struct pdsc_queue *q = &qcq->q; in pdsc_debugfs_add_qcq()
114 struct pdsc_cq *cq = &qcq->cq; in pdsc_debugfs_add_qcq()
119 qcq->dentry = qcq_dentry; in pdsc_debugfs_add_qcq()
127 q_dentry = debugfs_create_dir("q", qcq->dentry); in pdsc_debugfs_add_qcq()
139 cq_dentry = debugfs_create_dir("cq", qcq->dentry); in pdsc_debugfs_add_qcq()
149 if (qcq->flags & PDS_CORE_QCQ_F_INTR) { in pdsc_debugfs_add_qcq()
150 intr_dentry = debugfs_create_dir("intr", qcq->dentry); in pdsc_debugfs_add_qcq()
170 void pdsc_debugfs_del_qcq(struct pdsc_qcq *qcq) in pdsc_debugfs_del_qcq() argument
172 debugfs_remove_recursive(qcq->dentry); in pdsc_debugfs_del_qcq()
[all …]
H A Dadminq.c9 struct pdsc_qcq *qcq; member
16 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_notifyq()
17 struct pdsc_cq *cq = &qcq->cq; in pdsc_process_notifyq()
61 qcq->accum_work += nq_work; in pdsc_process_notifyq()
79 struct pdsc *pdsc = qcq->pdsc; in pdsc_process_adminq()
80 struct pdsc_cq *cq = &qcq->cq; in pdsc_process_adminq()
127 qcq->accum_work += aq_work; in pdsc_process_adminq()
143 pdsc_process_adminq(qcq); in pdsc_work_thread()
149 struct pdsc_qcq *qcq; in pdsc_adminq_isr() local
158 qcq = &pdsc->adminqcq; in pdsc_adminq_isr()
[all …]
H A Dcore.h272 void pdsc_debugfs_add_qcq(struct pdsc *pdsc, struct pdsc_qcq *qcq);
273 void pdsc_debugfs_del_qcq(struct pdsc_qcq *qcq);
289 void pdsc_qcq_free(struct pdsc *pdsc, struct pdsc_qcq *qcq);
293 unsigned int pid, struct pdsc_qcq *qcq);
306 void pdsc_process_adminq(struct pdsc_qcq *qcq);
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_debugfs.c119 struct ionic_intr_info *intr = &qcq->intr; in ionic_debugfs_add_qcq()
122 struct ionic_queue *q = &qcq->q; in ionic_debugfs_add_qcq()
123 struct ionic_cq *cq = &qcq->cq; in ionic_debugfs_add_qcq()
128 qcq->dentry = qcq_dentry; in ionic_debugfs_add_qcq()
137 q_dentry = debugfs_create_dir("q", qcq->dentry); in ionic_debugfs_add_qcq()
157 if (qcq->flags & IONIC_QCQ_F_SG) { in ionic_debugfs_add_qcq()
183 if (qcq->flags & IONIC_QCQ_F_INTR) { in ionic_debugfs_add_qcq()
205 if (qcq->flags & IONIC_QCQ_F_NOTIFYQ) { in ionic_debugfs_add_qcq()
294 void ionic_debugfs_del_qcq(struct ionic_qcq *qcq) in ionic_debugfs_del_qcq() argument
296 debugfs_remove_recursive(qcq->dentry); in ionic_debugfs_del_qcq()
[all …]
H A Dionic_lif.c360 if (!qcq) in ionic_lif_qcq_deinit()
391 if (!qcq) in ionic_qcq_free()
397 dma_free_coherent(dev, qcq->q_size, qcq->q_base, qcq->q_base_pa); in ionic_qcq_free()
412 dma_free_coherent(dev, qcq->cq_size, qcq->cq_base, qcq->cq_base_pa); in ionic_qcq_free()
418 dma_free_coherent(dev, qcq->sg_size, qcq->sg_base, qcq->sg_base_pa); in ionic_qcq_free()
779 memset(qcq->q_base, 0, qcq->q_size); in ionic_qcq_sanitize()
782 memset(qcq->cq_base, 0, qcq->cq_size); in ionic_qcq_sanitize()
783 memset(qcq->sg_base, 0, qcq->sg_size); in ionic_qcq_sanitize()
845 qcq->napi_qcq = qcq; in ionic_lif_txq_init()
914 qcq->napi_qcq = qcq; in ionic_lif_rxq_init()
[all …]
H A Dionic_debugfs.h18 void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq);
20 void ionic_debugfs_del_qcq(struct ionic_qcq *qcq);
29 static inline void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) { } in ionic_debugfs_add_qcq() argument
31 static inline void ionic_debugfs_del_qcq(struct ionic_qcq *qcq) { } in ionic_debugfs_del_qcq() argument
H A Dionic_txrx.c283 struct ionic_qcq *qcq = q_to_qcq(q); in ionic_rx_clean() local
356 qcq->cq.desc_size - in ionic_rx_clean()
371 napi_gro_receive(&qcq->napi, skb); in ionic_rx_clean()
373 napi_gro_frags(&qcq->napi); in ionic_rx_clean()
540 if (!qcq->intr.dim_coal_hw) in ionic_dim_update()
543 lif = qcq->q.lif; in ionic_dim_update()
544 qi = qcq->cq.bound_q->index; in ionic_dim_update()
564 net_dim(&qcq->dim, dim_sample); in ionic_dim_update()
569 struct ionic_qcq *qcq = napi_to_qcq(napi); in ionic_tx_napi() local
795 struct ionic_qcq *qcq = q_to_qcq(q); in ionic_tx_clean() local
[all …]
H A Dionic_dev.c574 void ionic_dev_cmd_adminq_init(struct ionic_dev *idev, struct ionic_qcq *qcq, in ionic_dev_cmd_adminq_init() argument
577 struct ionic_queue *q = &qcq->q; in ionic_dev_cmd_adminq_init()
578 struct ionic_cq *cq = &qcq->cq; in ionic_dev_cmd_adminq_init()
584 .q_init.ver = qcq->q.lif->qtype_info[q->type].version, in ionic_dev_cmd_adminq_init()
H A Dionic_dev.h353 void ionic_dev_cmd_adminq_init(struct ionic_dev *idev, struct ionic_qcq *qcq,