Home
last modified time | relevance | path

Searched refs:cdev_id (Results 1 – 16 of 16) sorted by relevance

/f-stack/dpdk/app/test-crypto-perf/
H A Dmain.c154 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cperf_initialize_cryptodev()
160 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cperf_initialize_cryptodev()
162 rte_cryptodev_get_sec_ctx(cdev_id)); in cperf_initialize_cryptodev()
179 cdev_id = enabled_cdevs[i]; in cperf_initialize_cryptodev()
290 "cryptodev %u", j, cdev_id); in cperf_initialize_cryptodev()
295 ret = rte_cryptodev_start(cdev_id); in cperf_initialize_cryptodev()
298 cdev_id, ret); in cperf_initialize_cryptodev()
313 uint8_t i, cdev_id; in cperf_verify_devices_capabilities() local
318 cdev_id = enabled_cdevs[i]; in cperf_verify_devices_capabilities()
514 uint8_t cdev_id, i; in main() local
[all …]
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_event_crypto_adapter.c341 uint8_t cdev_id; in eca_enq_to_cryptodev() local
361 cdev_id = m_data->request_info.cdev_id; in eca_enq_to_cryptodev()
377 cdev_id = m_data->request_info.cdev_id; in eca_enq_to_cryptodev()
430 uint8_t cdev_id; in eca_crypto_enq_flush() local
436 for (cdev_id = 0; cdev_id < num_cdev; cdev_id++) { in eca_crypto_enq_flush()
576 uint8_t cdev_id; in eca_crypto_adapter_deq_run() local
587 cdev_id < num_cdev; cdev_id++) { in eca_crypto_adapter_deq_run()
733 uint8_t cdev_id, in eca_add_queue_pair() argument
795 cdev_id, in rte_event_crypto_adapter_queue_pair_add()
806 cdev_id); in rte_event_crypto_adapter_queue_pair_add()
[all …]
H A Drte_event_crypto_adapter.h207 uint16_t cdev_id; member
405 uint8_t cdev_id,
426 rte_event_crypto_adapter_queue_pair_del(uint8_t id, uint8_t cdev_id,
H A Drte_eventdev_trace.h273 RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t cdev_id,
276 rte_trace_point_emit_u8(cdev_id);
283 RTE_TRACE_POINT_ARGS(uint8_t adptr_id, uint8_t cdev_id,
286 rte_trace_point_emit_u8(cdev_id);
H A Drte_eventdev.h1219 rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id,
H A Drte_eventdev.c157 rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id, in rte_event_crypto_adapter_caps_get() argument
164 if (!rte_cryptodev_pmd_is_valid_dev(cdev_id)) in rte_event_crypto_adapter_caps_get()
168 cdev = rte_cryptodev_pmd_get_dev(cdev_id); in rte_event_crypto_adapter_caps_get()
/f-stack/dpdk/app/test-compress-perf/
H A Dmain.c59 cap = rte_compressdev_capability_get(cdev_id, in comp_perf_check_capabilities()
121 uint8_t enabled_cdev_count, nb_lcores, cdev_id; in comp_perf_initialize_compressdev() local
168 cdev_id = enabled_cdevs[i]; in comp_perf_initialize_compressdev()
173 rte_compressdev_info_get(cdev_id, &cdev_info); in comp_perf_initialize_compressdev()
204 ret = rte_compressdev_queue_pair_setup(cdev_id, j, in comp_perf_initialize_compressdev()
209 j, cdev_id); in comp_perf_initialize_compressdev()
214 ret = rte_compressdev_start(cdev_id); in comp_perf_initialize_compressdev()
218 cdev_id, ret); in comp_perf_initialize_compressdev()
323 uint8_t cdev_id; in main() local
397 cdev_id = enabled_cdevs[cdev_index]; in main()
[all …]
/f-stack/dpdk/examples/l2fwd-crypto/
H A Dmain.c1830 cdev_id, in check_device_support_cipher_algo()
1864 cdev_id, in check_device_support_auth_algo()
1898 cdev_id, in check_device_support_aead_algo()
1994 cdev_id); in check_capabilities()
2012 cdev_id); in check_capabilities()
2028 cdev_id); in check_capabilities()
2047 cdev_id); in check_capabilities()
2063 cdev_id); in check_capabilities()
2100 cdev_id); in check_capabilities()
2156 cdev_id); in check_capabilities()
[all …]
/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c1934 cdev_id, qp, i); in add_mapping()
2023 int16_t cdev_id; in cryptodevs_init() local
2051 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cryptodevs_init()
2062 cdev_id, in cryptodevs_init()
2099 cdev_id); in cryptodevs_init()
2114 cdev_id); in cryptodevs_init()
2302 int16_t cdev_id, port_id, n; in max_session_size() local
2306 for (cdev_id = 0; cdev_id != n; cdev_id++) { in max_session_size()
2801 uint32_t cdev_id; in main() local
3009 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in main()
[all …]
H A Dipsec.c134 uint16_t cdev_id; in create_lookaside_session() local
136 cdev_id = ipsec_ctx->tbl[cdev_id_qp].id; in create_lookaside_session()
137 rte_cryptodev_info_get(cdev_id, &info); in create_lookaside_session()
142 ips->crypto.dev_id = cdev_id; in create_lookaside_session()
/f-stack/dpdk/doc/guides/prog_guide/
H A Devent_crypto_adapter.rst156 rte_event_crypto_adapter_caps_get(dev_id, cdev_id, &cap);
168 uint8_t cdev_id = 0;
171 rte_cryptodev_configure(cdev_id, &conf);
172 rte_cryptodev_queue_pair_setup(cdev_id, qp_id, &qp_conf);
190 rte_event_crypto_adapter_queue_pair_add(id, cdev_id, qp_id, &event);
192 rte_event_crypto_adapter_queue_pair_add(id, cdev_id, qp_id, NULL);
257 m_data.request_info.cdev_id = cdev_id;
271 m_data.request_info.cdev_id = cdev_id;
H A Dcompressdev.rst335 uint8_t cdev_id = rte_compressdev_get_dev_id(<pmd name>);
338 if (rte_compressdev_configure(cdev_id, &conf) < 0)
341 if (rte_compressdev_queue_pair_setup(cdev_id, 0, NUM_MAX_INFLIGHT_OPS,
345 if (rte_compressdev_start(cdev_id) < 0)
367 rte_compressdev_info_get(cdev_id, &dev_info);
478 uint8_t cdev_id = rte_compressdev_get_dev_id(<pmd name>);
481 if (rte_compressdev_configure(cdev_id, &conf) < 0)
484 if (rte_compressdev_queue_pair_setup(cdev_id, 0, NUM_MAX_INFLIGHT_OPS,
488 if (rte_compressdev_start(cdev_id) < 0)
508 rte_compressdev_stream_create(cdev_id, &compress_xform, &stream);
[all …]
H A Dcryptodev_lib.rst821 uint8_t cdev_id = rte_cryptodev_get_dev_id(crypto_name);
872 if (rte_cryptodev_configure(cdev_id, &conf) < 0)
878 if (rte_cryptodev_start(cdev_id) < 0)
906 if (rte_cryptodev_sym_session_init(cdev_id, session,
958 num_dequeued_ops = rte_cryptodev_dequeue_burst(cdev_id, 0,
1119 uint8_t cdev_id = rte_cryptodev_get_dev_id(crypto_name);
1146 if (rte_cryptodev_configure(cdev_id, &conf) < 0)
1149 if (rte_cryptodev_queue_pair_setup(cdev_id, 0, &qp_conf,
1153 if (rte_cryptodev_start(cdev_id) < 0)
1189 if (rte_cryptodev_asym_session_init(cdev_id, asym_session,
[all …]
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_crypto.rst329 uint8_t cdev_id)
333 uint8_t socket_id = rte_cryptodev_socket_id(cdev_id);
356 if (rte_cryptodev_sym_session_init(cdev_id, session,
/f-stack/dpdk/app/test/
H A Dtest_event_crypto_adapter.c77 .cdev_id = TEST_CDEV_ID,
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c1744 get_block_size(const struct rte_crypto_sym_xform *xform, uint8_t cdev_id) in get_block_size() argument
1750 rte_cryptodev_info_get(cdev_id, &dev_info); in get_block_size()