Home
last modified time | relevance | path

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

/drivers/net/ethernet/pensando/ionic/
Dionic_debugfs.c113 void ionic_debugfs_add_qcq(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_debugfs_add_qcq() argument
119 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()
130 debugfs_create_x64("q_base_pa", 0400, qcq_dentry, &qcq->q_base_pa); in ionic_debugfs_add_qcq()
131 debugfs_create_x32("q_size", 0400, qcq_dentry, &qcq->q_size); in ionic_debugfs_add_qcq()
132 debugfs_create_x64("cq_base_pa", 0400, qcq_dentry, &qcq->cq_base_pa); in ionic_debugfs_add_qcq()
133 debugfs_create_x32("cq_size", 0400, qcq_dentry, &qcq->cq_size); in ionic_debugfs_add_qcq()
134 debugfs_create_x64("sg_base_pa", 0400, qcq_dentry, &qcq->sg_base_pa); in ionic_debugfs_add_qcq()
[all …]
Dionic_lif.c49 struct ionic_qcq *qcq; in ionic_dim_work() local
54 qcq = container_of(dim, struct ionic_qcq, dim); in ionic_dim_work()
55 lif = qcq->q.lif; in ionic_dim_work()
59 intr = &qcq->intr; in ionic_dim_work()
211 static int ionic_request_irq(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_request_irq() argument
213 struct ionic_intr_info *intr = &qcq->intr; in ionic_request_irq()
215 struct ionic_queue *q = &qcq->q; in ionic_request_irq()
227 0, intr->name, &qcq->napi); in ionic_request_irq()
254 static int ionic_qcq_enable(struct ionic_qcq *qcq) in ionic_qcq_enable() argument
256 struct ionic_queue *q = &qcq->q; in ionic_qcq_enable()
[all …]
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
Dionic_txrx.c227 struct ionic_qcq *qcq = q_to_qcq(q); in ionic_rx_clean() local
232 comp = cq_info->cq_desc + qcq->cq.desc_size - sizeof(*comp); in ionic_rx_clean()
300 qcq->cq.desc_size - in ionic_rx_clean()
315 napi_gro_receive(&qcq->napi, skb); in ionic_rx_clean()
317 napi_gro_frags(&qcq->napi); in ionic_rx_clean()
461 static void ionic_dim_update(struct ionic_qcq *qcq, int napi_mode) in ionic_dim_update() argument
468 if (!qcq->intr.dim_coal_hw) in ionic_dim_update()
471 lif = qcq->q.lif; in ionic_dim_update()
472 qi = qcq->cq.bound_q->index; in ionic_dim_update()
489 dim_update_sample(qcq->cq.bound_intr->rearm_count, in ionic_dim_update()
[all …]
Dionic_lif.h369 static inline void debug_stats_napi_poll(struct ionic_qcq *qcq, in debug_stats_napi_poll() argument
372 qcq->napi_stats.poll_count++; in debug_stats_napi_poll()
377 qcq->napi_stats.work_done_cntr[work_done]++; in debug_stats_napi_poll()
383 #define DEBUG_STATS_NAPI_POLL(qcq, work_done) \ argument
384 debug_stats_napi_poll(qcq, work_done)
Dionic_dev.c504 void ionic_dev_cmd_adminq_init(struct ionic_dev *idev, struct ionic_qcq *qcq, in ionic_dev_cmd_adminq_init() argument
507 struct ionic_queue *q = &qcq->q; in ionic_dev_cmd_adminq_init()
508 struct ionic_cq *cq = &qcq->cq; in ionic_dev_cmd_adminq_init()
514 .q_init.ver = qcq->q.lif->qtype_info[q->type].version, in ionic_dev_cmd_adminq_init()
Dionic_dev.h334 void ionic_dev_cmd_adminq_init(struct ionic_dev *idev, struct ionic_qcq *qcq,