Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 178) sorted by relevance

12345678

/dpdk/app/test-eventdev/
H A Devt_main.c36 if (test->ops.opt_dump) in evt_options_dump_all()
37 test->ops.opt_dump(opts); in evt_options_dump_all()
76 if (test->ops.test_result == NULL) { in main()
86 if (test->ops.opt_check) { in main()
87 if (test->ops.opt_check(&opt)) { in main()
95 if (test->ops.cap_check) { in main()
96 if (test->ops.cap_check(&opt) == false) { in main()
109 if (test->ops.test_setup) { in main()
110 if (test->ops.test_setup(test, &opt)) { in main()
118 if (test->ops.mempool_setup) { in main()
[all …]
/dpdk/lib/mempool/
H A Drte_mempool_ops.c26 struct rte_mempool_ops *ops; in rte_mempool_register_ops() local
47 if (strlen(h->name) >= sizeof(ops->name) - 1) { in rte_mempool_register_ops()
56 ops = &rte_mempool_ops_table.ops[ops_index]; in rte_mempool_register_ops()
57 strlcpy(ops->name, h->name, sizeof(ops->name)); in rte_mempool_register_ops()
58 ops->alloc = h->alloc; in rte_mempool_register_ops()
59 ops->free = h->free; in rte_mempool_register_ops()
60 ops->enqueue = h->enqueue; in rte_mempool_register_ops()
61 ops->dequeue = h->dequeue; in rte_mempool_register_ops()
62 ops->get_count = h->get_count; in rte_mempool_register_ops()
63 ops->calc_mem_size = h->calc_mem_size; in rte_mempool_register_ops()
[all …]
H A Dmempool_trace_points.c10 lib.mempool.ops.deq.bulk)
13 lib.mempool.ops.deq.contig)
16 lib.mempool.ops.enq.bulk)
70 lib.mempool.ops.populate)
73 lib.mempool.ops.alloc)
76 lib.mempool.ops.free)
79 lib.mempool.set.ops.byname)
/dpdk/drivers/raw/ifpga/base/
H A Dopae_hw_api.c24 opae_bridge_alloc(const char *name, struct opae_bridge_ops *ops, void *data) in opae_bridge_alloc() argument
32 br->ops = ops; in opae_bridge_alloc()
51 if (br->ops && br->ops->reset) in opae_bridge_reset()
52 return br->ops->reset(br); in opae_bridge_reset()
70 opae_accelerator_alloc(const char *name, struct opae_accelerator_ops *ops, in opae_accelerator_alloc() argument
79 acc->ops = ops; in opae_accelerator_alloc()
103 if (acc->ops && acc->ops->read) in opae_acc_reg_read()
104 return acc->ops->read(acc, region_idx, offset, byte, data); in opae_acc_reg_read()
125 if (acc->ops && acc->ops->write) in opae_acc_reg_write()
126 return acc->ops->write(acc, region_idx, offset, byte, data); in opae_acc_reg_write()
[all …]
H A Difpga_fme_rsu.c85 if (!smgr->ops || !smgr->ops->prepare) in start_flash_update()
88 return smgr->ops->prepare(smgr); in start_flash_update()
108 if (!smgr->ops || !smgr->ops->write_blk) in write_flash_image()
158 ret = smgr->ops->write_blk(smgr, buf, offset, in write_flash_image()
202 if (!smgr->ops || !smgr->ops->write_done || !smgr->ops->check_complete) in apply_flash_update()
205 if (smgr->ops->write_done(smgr) < 0) { in apply_flash_update()
219 ret = smgr->ops->check_complete(smgr); in apply_flash_update()
251 if (!smgr->ops || !smgr->ops->cancel) in secure_update_cancel()
254 return smgr->ops->cancel(smgr); in secure_update_cancel()
262 if (!smgr->ops || !smgr->ops->get_hw_errinfo) in secure_update_status()
[all …]
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_zuc.c68 process_zuc_cipher_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops, in process_zuc_cipher_op() argument
82 if (((ops[i]->sym->cipher.data.length % BYTE_LEN) != 0) in process_zuc_cipher_op()
83 || ((ops[i]->sym->cipher.data.offset in process_zuc_cipher_op()
85 ops[i]->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS; in process_zuc_cipher_op()
93 if (!rte_pktmbuf_is_contiguous(ops[i]->sym->m_src) || in process_zuc_cipher_op()
94 (ops[i]->sym->m_dst != NULL && in process_zuc_cipher_op()
96 ops[i]->sym->m_dst))) { in process_zuc_cipher_op()
104 ops[i]); in process_zuc_cipher_op()
105 ops[i]->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS; in process_zuc_cipher_op()
110 src[i] = rte_pktmbuf_mtod_offset(ops[i]->sym->m_src, in process_zuc_cipher_op()
[all …]
H A Dpmd_aesni_gcm.c8 aesni_gcm_set_ops(struct aesni_gcm_ops *ops, IMB_MGR *mb_mgr) in aesni_gcm_set_ops() argument
11 ops[GCM_KEY_128].pre = mb_mgr->gcm128_pre; in aesni_gcm_set_ops()
12 ops[GCM_KEY_128].init = mb_mgr->gcm128_init; in aesni_gcm_set_ops()
14 ops[GCM_KEY_128].enc = mb_mgr->gcm128_enc; in aesni_gcm_set_ops()
15 ops[GCM_KEY_128].update_enc = mb_mgr->gcm128_enc_update; in aesni_gcm_set_ops()
16 ops[GCM_KEY_128].finalize_enc = mb_mgr->gcm128_enc_finalize; in aesni_gcm_set_ops()
18 ops[GCM_KEY_128].dec = mb_mgr->gcm128_dec; in aesni_gcm_set_ops()
19 ops[GCM_KEY_128].update_dec = mb_mgr->gcm128_dec_update; in aesni_gcm_set_ops()
20 ops[GCM_KEY_128].finalize_dec = mb_mgr->gcm128_dec_finalize; in aesni_gcm_set_ops()
22 ops[GCM_KEY_128].gmac_init = mb_mgr->gmac128_init; in aesni_gcm_set_ops()
[all …]
/dpdk/app/test-mldev/
H A Dml_main.c50 if (test->ops.test_result == NULL) { in main()
56 if (test->ops.opt_check) { in main()
57 if (test->ops.opt_check(&opt)) { in main()
64 if (test->ops.cap_check) { in main()
65 if (test->ops.cap_check(&opt) == false) { in main()
74 if (test->ops.opt_dump) in main()
75 test->ops.opt_dump(&opt); in main()
79 if (test->ops.test_setup) { in main()
80 if (test->ops.test_setup(test, &opt)) { in main()
87 if (test->ops.test_driver) in main()
[all …]
/dpdk/drivers/crypto/scheduler/
H A Dscheduler_pkt_size_distr.c37 schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_enqueue() argument
56 rte_prefetch0(ops[i]->sym); in schedule_enqueue()
57 rte_prefetch0((uint8_t *)ops[i]->sym->session + in schedule_enqueue()
65 rte_prefetch0(ops[i + 4]->sym); in schedule_enqueue()
66 rte_prefetch0((uint8_t *)ops[i + 4]->sym->session + in schedule_enqueue()
68 rte_prefetch0(ops[i + 5]->sym); in schedule_enqueue()
69 rte_prefetch0((uint8_t *)ops[i + 5]->sym->session + in schedule_enqueue()
71 rte_prefetch0(ops[i + 6]->sym); in schedule_enqueue()
72 rte_prefetch0((uint8_t *)ops[i + 6]->sym->session + in schedule_enqueue()
74 rte_prefetch0(ops[i + 7]->sym); in schedule_enqueue()
[all …]
H A Dscheduler_failover.c27 struct rte_crypto_op **ops, uint16_t nb_ops, uint8_t index) in failover_worker_enqueue() argument
31 scheduler_set_worker_sessions(ops, nb_ops, index); in failover_worker_enqueue()
34 worker->qp_id, ops, nb_ops); in failover_worker_enqueue()
41 schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_enqueue() argument
51 ops, nb_ops, PRIMARY_WORKER_IDX); in schedule_enqueue()
54 scheduler_retrieve_sessions(&ops[enqueued_ops], in schedule_enqueue()
58 &ops[enqueued_ops], in schedule_enqueue()
62 scheduler_retrieve_sessions(&ops[enqueued_ops], in schedule_enqueue()
71 schedule_enqueue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_enqueue_ordering() argument
78 uint16_t nb_ops_enqd = schedule_enqueue(qp, ops, in schedule_enqueue_ordering()
[all …]
H A Dscheduler_roundrobin.c20 schedule_enqueue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_enqueue() argument
31 scheduler_set_worker_sessions(ops, nb_ops, worker_idx); in schedule_enqueue()
33 worker->qp_id, ops, nb_ops); in schedule_enqueue()
35 scheduler_retrieve_sessions(ops + processed_ops, in schedule_enqueue()
47 schedule_enqueue_ordering(void *qp, struct rte_crypto_op **ops, in schedule_enqueue_ordering() argument
54 uint16_t nb_ops_enqd = schedule_enqueue(qp, ops, in schedule_enqueue_ordering()
57 scheduler_order_insert(order_ring, ops, nb_ops_enqd); in schedule_enqueue_ordering()
64 schedule_dequeue(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops) in schedule_dequeue() argument
89 worker->qp_id, ops, nb_ops); in schedule_dequeue()
90 scheduler_retrieve_sessions(ops, nb_deq_ops); in schedule_dequeue()
[all …]
/dpdk/lib/bbdev/
H A Drte_bbdev.h436 struct rte_bbdev_enc_op **ops,
442 struct rte_bbdev_dec_op **ops,
448 struct rte_bbdev_fft_op **ops,
454 struct rte_bbdev_mldts_op **ops,
460 struct rte_bbdev_enc_op **ops, uint16_t num);
465 struct rte_bbdev_dec_op **ops, uint16_t num);
470 struct rte_bbdev_fft_op **ops, uint16_t num);
475 struct rte_bbdev_mldts_op **ops, uint16_t num);
556 * @param ops
564 * entries in the @p ops arra
566 rte_bbdev_enqueue_enc_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_enc_op ** ops,uint16_t num_ops) rte_bbdev_enqueue_enc_ops() argument
596 rte_bbdev_enqueue_dec_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_dec_op ** ops,uint16_t num_ops) rte_bbdev_enqueue_dec_ops() argument
626 rte_bbdev_enqueue_ldpc_enc_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_enc_op ** ops,uint16_t num_ops) rte_bbdev_enqueue_ldpc_enc_ops() argument
656 rte_bbdev_enqueue_ldpc_dec_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_dec_op ** ops,uint16_t num_ops) rte_bbdev_enqueue_ldpc_dec_ops() argument
686 rte_bbdev_enqueue_fft_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_fft_op ** ops,uint16_t num_ops) rte_bbdev_enqueue_fft_ops() argument
716 rte_bbdev_enqueue_mldts_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_mldts_op ** ops,uint16_t num_ops) rte_bbdev_enqueue_mldts_ops() argument
747 rte_bbdev_dequeue_enc_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_enc_op ** ops,uint16_t num_ops) rte_bbdev_dequeue_enc_ops() argument
779 rte_bbdev_dequeue_dec_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_dec_op ** ops,uint16_t num_ops) rte_bbdev_dequeue_dec_ops() argument
810 rte_bbdev_dequeue_ldpc_enc_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_enc_op ** ops,uint16_t num_ops) rte_bbdev_dequeue_ldpc_enc_ops() argument
840 rte_bbdev_dequeue_ldpc_dec_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_dec_op ** ops,uint16_t num_ops) rte_bbdev_dequeue_ldpc_dec_ops() argument
870 rte_bbdev_dequeue_fft_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_fft_op ** ops,uint16_t num_ops) rte_bbdev_dequeue_fft_ops() argument
901 rte_bbdev_dequeue_mldts_ops(uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_mldts_op ** ops,uint16_t num_ops) rte_bbdev_dequeue_mldts_ops() argument
[all...]
H A Drte_bbdev_op.h1066 * @param ops
1077 struct rte_bbdev_enc_op **ops, unsigned int num_ops) in rte_bbdev_enc_op_alloc_bulk()
1089 return rte_mempool_get_bulk(mempool, (void **)ops, num_ops);
1097 * @param ops
1108 struct rte_bbdev_dec_op **ops, unsigned int num_ops) in rte_bbdev_dec_op_alloc_bulk()
1120 return rte_mempool_get_bulk(mempool, (void **)ops, num_ops);
1128 * @param ops
1139 struct rte_bbdev_fft_op **ops, unsigned int num_ops) in rte_bbdev_fft_op_alloc_bulk()
1149 return rte_mempool_get_bulk(mempool, (void **)ops, num_ops);
1157 * @param ops
1073 rte_bbdev_enc_op_alloc_bulk(struct rte_mempool * mempool,struct rte_bbdev_enc_op ** ops,unsigned int num_ops) rte_bbdev_enc_op_alloc_bulk() argument
1104 rte_bbdev_dec_op_alloc_bulk(struct rte_mempool * mempool,struct rte_bbdev_dec_op ** ops,unsigned int num_ops) rte_bbdev_dec_op_alloc_bulk() argument
1135 rte_bbdev_fft_op_alloc_bulk(struct rte_mempool * mempool,struct rte_bbdev_fft_op ** ops,unsigned int num_ops) rte_bbdev_fft_op_alloc_bulk() argument
1165 rte_bbdev_mldts_op_alloc_bulk(struct rte_mempool * mempool,struct rte_bbdev_mldts_op ** ops,uint16_t num_ops) rte_bbdev_mldts_op_alloc_bulk() argument
1189 rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op ** ops,unsigned int num_ops) rte_bbdev_dec_op_free_bulk() argument
1206 rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op ** ops,unsigned int num_ops) rte_bbdev_enc_op_free_bulk() argument
1223 rte_bbdev_fft_op_free_bulk(struct rte_bbdev_fft_op ** ops,unsigned int num_ops) rte_bbdev_fft_op_free_bulk() argument
1241 rte_bbdev_mldts_op_free_bulk(struct rte_bbdev_mldts_op ** ops,unsigned int num_ops) rte_bbdev_mldts_op_free_bulk() argument
[all...]
/dpdk/lib/vhost/
H A Dvdpa.c75 struct rte_vdpa_dev_ops *ops) in rte_vdpa_register_device() argument
80 if (ops == NULL) in rte_vdpa_register_device()
83 /* Check mandatory ops are implemented */ in rte_vdpa_register_device()
84 if (!ops->get_queue_num || !ops->get_features || in rte_vdpa_register_device()
85 !ops->get_protocol_features || !ops->dev_conf || in rte_vdpa_register_device()
86 !ops->dev_close || !ops->set_vring_state || in rte_vdpa_register_device()
87 !ops in rte_vdpa_register_device()
[all...]
/dpdk/drivers/raw/ifpga/
H A Dafu_pmd_core.c41 if (dev->ops && dev->ops->config) in afu_rawdev_configure()
42 ret = (*dev->ops->config)(dev, config, config_size); in afu_rawdev_configure()
64 if (dev->ops && dev->ops->start) in afu_rawdev_start()
65 ret = (*dev->ops->start)(dev); in afu_rawdev_start()
89 if (dev->ops && dev->ops->stop) in afu_rawdev_stop()
90 ret = (*dev->ops->stop)(dev); in afu_rawdev_stop()
106 if (dev->ops && dev->ops->close) in afu_rawdev_close()
107 ret = (*dev->ops->close)(dev); in afu_rawdev_close()
129 if (dev->ops && dev->ops->reset) in afu_rawdev_reset()
130 ret = (*dev->ops->reset)(dev); in afu_rawdev_reset()
[all …]
/dpdk/drivers/net/qede/
H A Dqede_regs.c25 if (qdev->ops && qdev->ops->common) { in qede_get_regs_len()
27 org_engine = qdev->ops->common->dbg_get_debug_engine(edev); in qede_get_regs_len()
34 qdev->ops->common->dbg_set_debug_engine(edev, in qede_get_regs_len()
37 qdev->ops->common->dbg_idle_chk_size(edev) + in qede_get_regs_len()
39 qdev->ops->common->dbg_idle_chk_size(edev) + in qede_get_regs_len()
41 qdev->ops->common->dbg_grc_size(edev) + in qede_get_regs_len()
43 qdev->ops->common->dbg_reg_fifo_size(edev) + in qede_get_regs_len()
45 qdev->ops->common->dbg_protection_override_size(edev) + in qede_get_regs_len()
47 qdev->ops->common->dbg_igu_fifo_size(edev) + in qede_get_regs_len()
49 qdev->ops->common->dbg_fw_asserts_size(edev); in qede_get_regs_len()
[all …]
/dpdk/lib/security/
H A Drte_security.c72 RTE_PTR_CHAIN3_OR_ERR_RET(instance, ops, session_create, NULL, NULL); in rte_security_session_create()
76 sess_priv_size = instance->ops->session_get_size(instance->device); in rte_security_session_create()
88 if (instance->ops->session_create(instance->device, conf, sess)) { in rte_security_session_create()
102 RTE_PTR_CHAIN3_OR_ERR_RET(instance, ops, session_update, -EINVAL, in rte_security_session_update()
107 return instance->ops->session_update(instance->device, sess, conf); in rte_security_session_update()
115 RTE_PTR_CHAIN3_OR_ERR_RET(instance, ops, session_get_size, 0, 0); in rte_security_session_get_size()
118 instance->ops->session_get_size(instance->device)); in rte_security_session_get_size()
126 RTE_PTR_CHAIN3_OR_ERR_RET(instance, ops, session_stats_get, -EINVAL, in rte_security_session_stats_get()
131 return instance->ops->session_stats_get(instance->device, sess, stats); in rte_security_session_stats_get()
140 RTE_PTR_CHAIN3_OR_ERR_RET(instance, ops, session_destroy, -EINVAL, in rte_security_session_destroy()
[all …]
/dpdk/lib/ethdev/
H A Drte_flow.c346 const struct rte_flow_ops *ops; in rte_flow_ops_get()
355 code = dev->dev_ops->flow_ops_get(dev, &ops); in rte_flow_ops_get()
356 if (code == 0 && ops == NULL) in rte_flow_ops_get()
365 return ops; in rte_flow_ops_get()
376 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); in rte_flow_validate()
387 if (unlikely(!ops)) in rte_flow_validate()
389 if (likely(!!ops->validate)) { in rte_flow_validate()
391 ret = ops->validate(dev, attr, pattern, actions, error); in rte_flow_validate()
414 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); in rte_flow_create()
416 if (unlikely(!ops)) in rte_flow_create()
345 const struct rte_flow_ops *ops; rte_flow_ops_get() local
375 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_validate() local
413 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_create() local
440 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_destroy() local
467 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_actions_update() local
492 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_flush() local
521 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_query() local
548 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_isolate() local
1213 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_dev_dump() local
1234 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_get_aged_flows() local
1259 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_get_q_aged_flows() local
1288 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_action_handle_create() local
1314 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_action_handle_destroy() local
1338 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_action_handle_update() local
1362 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_action_handle_query() local
1387 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_tunnel_decap_set() local
1416 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_tunnel_match() local
1444 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_get_restore_info() local
1498 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_tunnel_action_decap_release() local
1527 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_tunnel_item_release() local
1551 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_pick_transfer_proxy() local
1580 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_flex_item_create() local
1607 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_flex_item_release() local
1628 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_info_get() local
1665 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_configure() local
1718 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_pattern_template_create() local
1773 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_pattern_template_destroy() local
1805 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_actions_template_create() local
1869 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_actions_template_destroy() local
1903 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_template_table_create() local
1972 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_template_table_destroy() local
2004 const struct rte_flow_ops *ops = rte_flow_ops_get(port_id, error); rte_flow_group_set_miss_actions() local
2341 const struct rte_flow_ops *ops; rte_flow_action_handle_query_update() local
2392 const struct rte_flow_ops *ops; rte_flow_action_list_handle_create() local
2417 const struct rte_flow_ops *ops; rte_flow_action_list_handle_destroy() local
2504 const struct rte_flow_ops *ops; rte_flow_action_list_handle_query_update() local
2562 const struct rte_flow_ops *ops; rte_flow_calc_table_hash() local
2583 const struct rte_flow_ops *ops; rte_flow_calc_encap_hash() local
2621 const struct rte_flow_ops *ops; rte_flow_template_table_resize() local
2644 const struct rte_flow_ops *ops; rte_flow_async_update_resized() local
2667 const struct rte_flow_ops *ops; rte_flow_template_table_resize_complete() local
[all...]
/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_cyclecount.c63 cperf_cyclecount_op_setup(struct rte_comp_op **ops, in cperf_cyclecount_op_setup() argument
93 (void **)ops, in cperf_cyclecount_op_setup()
116 ops[op_id]->m_src = input_bufs[buf_id]; in cperf_cyclecount_op_setup()
117 ops[op_id]->m_dst = output_bufs[buf_id]; in cperf_cyclecount_op_setup()
118 ops[op_id]->src.offset = 0; in cperf_cyclecount_op_setup()
119 ops[op_id]->src.length = in cperf_cyclecount_op_setup()
121 ops[op_id]->dst.offset = 0; in cperf_cyclecount_op_setup()
122 ops[op_id]->flush_flag = RTE_COMP_FLUSH_FINAL; in cperf_cyclecount_op_setup()
123 ops[op_id]->input_chksum = buf_id; in cperf_cyclecount_op_setup()
124 ops[op_id]->private_xform = priv_xform; in cperf_cyclecount_op_setup()
[all …]
H A Dcomp_perf_test_throughput.c57 struct rte_comp_op **ops, **deq_ops; in main_loop() local
71 ops = rte_zmalloc_socket(NULL, in main_loop()
75 if (ops == NULL) { in main_loop()
81 deq_ops = &ops[mem->total_bufs]; in main_loop()
154 memmove(ops, &ops[num_enq], nb_b_to_mov); in main_loop()
160 &ops[ops_unused], in main_loop()
184 ops[op_id]->m_src = input_bufs[buf_id]; in main_loop()
185 ops[op_id]->m_dst = output_bufs[buf_id]; in main_loop()
186 ops[op_id]->src.offset = 0; in main_loop()
187 ops[op_id]->src.length = in main_loop()
[all …]
H A Dcomp_perf_test_verify.c59 struct rte_comp_op **ops, **deq_ops; in main_loop() local
74 ops = rte_zmalloc_socket(NULL, in main_loop()
78 if (ops == NULL) { in main_loop()
84 deq_ops = &ops[mem->total_bufs]; in main_loop()
160 memmove(ops, &ops[num_enq], nb_b_to_mov); in main_loop()
166 &ops[ops_unused], in main_loop()
190 ops[op_id]->m_src = input_bufs[buf_id]; in main_loop()
191 ops[op_id]->m_dst = output_bufs[buf_id]; in main_loop()
192 ops[op_id]->src.offset = 0; in main_loop()
193 ops[op_id]->src.length = in main_loop()
[all …]
/dpdk/lib/compressdev/
H A Drte_comp.c102 struct rte_comp_op **ops, uint16_t nb_ops) in rte_comp_op_raw_bulk_alloc() argument
104 if (rte_mempool_get_bulk(mempool, (void **)ops, nb_ops) == 0) in rte_comp_op_raw_bulk_alloc()
198 struct rte_comp_op **ops, uint16_t nb_ops) in rte_comp_op_bulk_alloc() argument
203 retval = rte_comp_op_raw_bulk_alloc(mempool, ops, nb_ops); in rte_comp_op_bulk_alloc()
208 rte_comp_op_reset(ops[i]); in rte_comp_op_bulk_alloc()
229 rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops) in rte_comp_op_bulk_free() argument
234 if (ops[i] != NULL && ops[i]->mempool != NULL) in rte_comp_op_bulk_free()
235 rte_mempool_put(ops[i]->mempool, ops[i]); in rte_comp_op_bulk_free()
236 ops[i] = NULL; in rte_comp_op_bulk_free()
/dpdk/app/test-regex/
H A Dmain.c51 struct rte_regex_ops **ops; member
447 struct rte_regex_ops **ops; in run_regex() local
454 qp->ops = ops = rte_malloc(NULL, sizeof(*ops) * nb_jobs, 0); in run_regex()
455 if (!ops) { in run_regex()
489 ops[i] = rte_malloc(NULL, sizeof(*ops[0]) + in run_regex()
492 if (!ops[i]) { in run_regex()
499 ops[i]->mbuf = regex_create_segmented_mbuf in run_regex()
503 ops[i]->mbuf = rte_pktmbuf_alloc(mbuf_mp); in run_regex()
504 if (ops[i]->mbuf) { in run_regex()
505 rte_pktmbuf_attach_extbuf(ops[i]->mbuf, in run_regex()
[all …]
/dpdk/lib/pipeline/
H A Drte_pipeline.c52 struct rte_port_in_ops ops; member
72 struct rte_port_out_ops ops; member
85 struct rte_table_ops ops; member
298 if (params->ops == NULL) { in rte_table_check_params()
304 if (params->ops->f_create == NULL) { in rte_table_check_params()
310 if (params->ops->f_lookup == NULL) { in rte_table_check_params()
358 h_table = params->ops->f_create(params->arg_create, p->socket_id, in rte_pipeline_table_create()
371 memcpy(&table->ops, params->ops, sizeof(struct rte_table_ops)); in rte_pipeline_table_create()
392 if (table->ops.f_free != NULL) in rte_pipeline_table_free()
393 table->ops.f_free(table->h_table); in rte_pipeline_table_free()
[all …]
/dpdk/lib/bpf/
H A Dbpf_jit_x86.c221 emit_opcode(struct bpf_jit_state *st, uint8_t ops, uint32_t reg) in emit_opcode() argument
225 v = ops | (reg & 7); in emit_opcode()
236 const uint8_t ops = 0x87; in emit_xchg_reg() local
239 emit_bytes(st, &ops, sizeof(ops)); in emit_xchg_reg()
249 const uint8_t ops = 0xF7; in emit_neg() local
253 emit_bytes(st, &ops, sizeof(ops)); in emit_neg()
264 const uint8_t ops = 0x89; in emit_mov_reg() local
269 emit_bytes(st, &ops, sizeof(ops)); in emit_mov_reg()
280 static const uint8_t ops[] = {0x0F, 0xB7}; in emit_movzwl() local
283 emit_bytes(st, ops, sizeof(ops)); in emit_movzwl()
[all …]

12345678