Home
last modified time | relevance | path

Searched refs:qp_ctx (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/crypto/scheduler/
H A Dscheduler_failover.c42 struct fo_scheduler_qp_ctx *qp_ctx = in schedule_enqueue() local
54 &qp_ctx->secondary_worker, in schedule_enqueue()
81 struct fo_scheduler_qp_ctx *qp_ctx = in schedule_dequeue() local
84 &qp_ctx->primary_worker, &qp_ctx->secondary_worker}; in schedule_dequeue()
85 struct scheduler_worker *worker = workers[qp_ctx->deq_idx]; in schedule_dequeue()
94 qp_ctx->deq_idx = (~qp_ctx->deq_idx) & WORKER_SWITCH_MASK; in schedule_dequeue()
99 worker = workers[qp_ctx->deq_idx]; in schedule_dequeue()
156 struct fo_scheduler_qp_ctx *qp_ctx = in scheduler_start() local
160 rte_memcpy(&qp_ctx->primary_worker, in scheduler_start()
163 rte_memcpy(&qp_ctx->secondary_worker, in scheduler_start()
[all …]
H A Dscheduler_pmd_ops.c94 if (qp_ctx->order_ring) { in update_order_ring()
96 qp_ctx->order_ring = NULL; in update_order_ring()
113 if (!qp_ctx->order_ring) { in update_order_ring()
118 if (qp_ctx->order_ring) { in update_order_ring()
120 qp_ctx->order_ring = NULL; in update_order_ring()
254 if (qp_ctx->order_ring) { in scheduler_pmd_close()
376 if (!qp_ctx) in scheduler_pmd_qp_release()
379 if (qp_ctx->order_ring) in scheduler_pmd_qp_release()
384 rte_free(qp_ctx); in scheduler_pmd_qp_release()
427 qp_ctx = rte_zmalloc_socket(name, sizeof(*qp_ctx), RTE_CACHE_LINE_SIZE, in scheduler_pmd_qp_setup()
[all …]
H A Dscheduler_pkt_size_distr.c39 struct scheduler_qp_ctx *qp_ctx = qp; in schedule_enqueue() local
84 qp_ctx->max_nb_objs) { in schedule_enqueue()
98 qp_ctx->max_nb_objs) { in schedule_enqueue()
112 qp_ctx->max_nb_objs) { in schedule_enqueue()
126 qp_ctx->max_nb_objs) { in schedule_enqueue()
142 qp_ctx->max_nb_objs) { in schedule_enqueue()
195 &qp_ctx->primary_worker, &qp_ctx->secondary_worker}; in schedule_dequeue()
205 qp_ctx->deq_idx = (~qp_ctx->deq_idx) & WORKER_IDX_SWITCH_MASK; in schedule_dequeue()
210 worker = workers[qp_ctx->deq_idx]; in schedule_dequeue()
219 qp_ctx->deq_idx = (~qp_ctx->deq_idx) & in schedule_dequeue()
[all …]
H A Dscheduler_roundrobin.c141 struct scheduler_qp_ctx *qp_ctx = dev->data->queue_pairs[i]; in scheduler_start() local
143 qp_ctx->private_qp_ctx; in scheduler_start()
173 struct scheduler_qp_ctx *qp_ctx = dev->data->queue_pairs[qp_id]; in scheduler_config_qp() local
183 qp_ctx->private_qp_ctx = (void *)rr_qp_ctx; in scheduler_config_qp()
H A Drte_cryptodev_scheduler.h255 typedef uint16_t (*rte_cryptodev_scheduler_burst_enqueue_t)(void *qp_ctx,
258 typedef uint16_t (*rte_cryptodev_scheduler_burst_dequeue_t)(void *qp_ctx,
H A Dscheduler_multicore.c264 struct scheduler_qp_ctx *qp_ctx = dev->data->queue_pairs[i]; in scheduler_start() local
266 qp_ctx->private_qp_ctx; in scheduler_start()
305 struct scheduler_qp_ctx *qp_ctx = dev->data->queue_pairs[qp_id]; in scheduler_config_qp() local
318 qp_ctx->private_qp_ctx = (void *)mc_qp_ctx; in scheduler_config_qp()