| /dpdk/app/test-crypto-perf/ |
| H A D | main.c | 177 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cperf_initialize_cryptodev() 183 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cperf_initialize_cryptodev() 202 cdev_id = enabled_cdevs[i]; in cperf_initialize_cryptodev() 344 "cryptodev %u", j, cdev_id); in cperf_initialize_cryptodev() 349 ret = rte_cryptodev_start(cdev_id); in cperf_initialize_cryptodev() 352 cdev_id, ret); in cperf_initialize_cryptodev() 370 uint8_t i, cdev_id; in cperf_verify_devices_capabilities() local 375 cdev_id = enabled_cdevs[i]; in cperf_verify_devices_capabilities() 380 cdev_id, &asym_cap_idx); in cperf_verify_devices_capabilities() 585 uint8_t cdev_id, i; in main() local [all …]
|
| /dpdk/lib/eventdev/ |
| H A D | rte_event_crypto_adapter.c | 449 uint8_t cdev_id; in eca_enq_to_cryptodev() local 469 cdev_id = m_data->request_info.cdev_id; in eca_enq_to_cryptodev() 483 cdev_id = m_data->request_info.cdev_id; in eca_enq_to_cryptodev() 500 cdev_id, in eca_enq_to_cryptodev() 541 cdev_id, in eca_crypto_cdev_flush() 555 uint8_t cdev_id; in eca_crypto_enq_flush() local 560 for (cdev_id = 0; cdev_id < num_cdev; cdev_id++) in eca_crypto_enq_flush() 742 cdev_id < num_cdev; cdev_id++) { in eca_crypto_adapter_deq_run() 976 cdev_id, in rte_event_crypto_adapter_queue_pair_add() 987 cdev_id); in rte_event_crypto_adapter_queue_pair_add() [all …]
|
| H A D | rte_event_crypto_adapter.h | 207 uint16_t cdev_id; member 406 uint8_t cdev_id, 427 rte_event_crypto_adapter_queue_pair_del(uint8_t id, uint8_t cdev_id,
|
| H A D | eventdev_trace.h | 273 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 D | rte_eventdev.h | 1444 rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id,
|
| H A D | rte_eventdev.c | 153 rte_event_crypto_adapter_caps_get(uint8_t dev_id, uint8_t cdev_id, in rte_event_crypto_adapter_caps_get() argument 160 if (!rte_cryptodev_is_valid_dev(cdev_id)) in rte_event_crypto_adapter_caps_get() 164 cdev = rte_cryptodev_pmd_get_dev(cdev_id); in rte_event_crypto_adapter_caps_get()
|
| /dpdk/app/test-eventdev/ |
| H A D | test_perf_common.c | 288 uint8_t cdev_id = p->ca.cdev_id; in crypto_adapter_enq_op_new() local 813 cdev_id++; in perf_event_dev_port_setup() 820 p->ca.cdev_id = cdev_id; in perf_event_dev_port_setup() 827 m_data.request_info.cdev_id = p->ca.cdev_id; in perf_event_dev_port_setup() 1183 for (cdev_id = 0; cdev_id < cdev_count; cdev_id++) { in perf_cryptodev_setup() 1211 for (cdev_id = 0; cdev_id < cdev_count; cdev_id++) { in perf_cryptodev_setup() 1245 cdev_id); in perf_cryptodev_setup() 1253 for (cdev_id = 0; cdev_id < cdev_count; cdev_id++) in perf_cryptodev_setup() 1277 uint8_t cdev_id; in perf_cryptodev_destroy() local 1281 cdev_id = p->ca.cdev_id; in perf_cryptodev_destroy() [all …]
|
| H A D | test_perf_atq.c | 300 uint8_t cdev_id, cdev_count; in perf_atq_eventdev_setup() local 303 for (cdev_id = 0; cdev_id < cdev_count; cdev_id++) { in perf_atq_eventdev_setup() 304 ret = rte_cryptodev_start(cdev_id); in perf_atq_eventdev_setup() 307 cdev_id); in perf_atq_eventdev_setup()
|
| H A D | test_perf_queue.c | 317 uint8_t cdev_id, cdev_count; in perf_queue_eventdev_setup() local 320 for (cdev_id = 0; cdev_id < cdev_count; cdev_id++) { in perf_queue_eventdev_setup() 321 ret = rte_cryptodev_start(cdev_id); in perf_queue_eventdev_setup() 324 cdev_id); in perf_queue_eventdev_setup()
|
| H A D | test_perf_common.h | 42 uint8_t cdev_id; member
|
| /dpdk/app/test-compress-perf/ |
| H A D | main.c | 59 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() 171 int socket_id = rte_compressdev_socket_id(cdev_id); in comp_perf_initialize_compressdev() 173 rte_compressdev_info_get(cdev_id, &cdev_info); in comp_perf_initialize_compressdev() 210 j, cdev_id); in comp_perf_initialize_compressdev() 215 ret = rte_compressdev_start(cdev_id); in comp_perf_initialize_compressdev() 219 cdev_id, ret); in comp_perf_initialize_compressdev() 324 uint8_t cdev_id; in main() local 398 cdev_id = enabled_cdevs[cdev_index]; in main() [all …]
|
| /dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 1874 cdev_id, in check_device_support_cipher_algo() 1908 cdev_id, in check_device_support_auth_algo() 1942 cdev_id, in check_device_support_aead_algo() 2038 cdev_id); in check_capabilities() 2056 cdev_id); in check_capabilities() 2072 cdev_id); in check_capabilities() 2091 cdev_id); in check_capabilities() 2107 cdev_id); in check_capabilities() 2145 cdev_id); in check_capabilities() 2256 cdev_id); in check_capabilities() [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | event_crypto_adapter.rst | 136 uint8_t id, evdev_id, cdev_id, crypto_ev_port_id, app_qid; 147 ret = rte_event_crypto_adapter_caps_get(evdev_id, cdev_id, &cap); 173 rte_event_crypto_adapter_caps_get(dev_id, cdev_id, &cap); 185 uint8_t cdev_id = 0; 188 rte_cryptodev_configure(cdev_id, &conf); 189 rte_cryptodev_queue_pair_setup(cdev_id, qp_id, &qp_conf); 207 rte_event_crypto_adapter_queue_pair_add(id, cdev_id, qp_id, &event); 209 rte_event_crypto_adapter_queue_pair_add(id, cdev_id, qp_id, NULL); 274 m_data.request_info.cdev_id = cdev_id; 288 m_data.request_info.cdev_id = cdev_id;
|
| H A D | compressdev.rst | 335 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 D | cryptodev_lib.rst | 865 uint8_t cdev_id = rte_cryptodev_get_dev_id(crypto_name); 868 session_size = rte_cryptodev_sym_get_private_session_size(cdev_id); 916 if (rte_cryptodev_configure(cdev_id, &conf) < 0) 917 rte_exit(EXIT_FAILURE, "Failed to configure cryptodev %u", cdev_id); 919 if (rte_cryptodev_queue_pair_setup(cdev_id, 0, &qp_conf, socket_id) < 0) 922 if (rte_cryptodev_start(cdev_id) < 0) 950 if (rte_cryptodev_sym_session_init(cdev_id, session, 992 uint16_t num_enqueued_ops = rte_cryptodev_enqueue_burst(cdev_id, 0, 1002 num_dequeued_ops = rte_cryptodev_dequeue_burst(cdev_id, 0,
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 2064 cdev_id, qp, i); in add_mapping() 2153 int16_t cdev_id; in cryptodevs_init() local 2181 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cryptodevs_init() 2192 cdev_id, in cryptodevs_init() 2229 cdev_id); in cryptodevs_init() 2244 cdev_id); in cryptodevs_init() 2434 int16_t cdev_id, port_id, n; in max_session_size() local 2438 for (cdev_id = 0; cdev_id != n; cdev_id++) { in max_session_size() 3280 uint32_t cdev_id; in main() local 3508 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in main() [all …]
|
| H A D | ipsec.c | 134 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()
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn10k_cryptodev_ops.c | 276 uint8_t cdev_id; in cn10k_cpt_crypto_adapter_enqueue() local 287 cdev_id = ec_mdata->request_info.cdev_id; in cn10k_cpt_crypto_adapter_enqueue() 289 qp = rte_cryptodevs[cdev_id].data->queue_pairs[qp_id]; in cn10k_cpt_crypto_adapter_enqueue()
|
| H A D | cn9k_cryptodev_ops.c | 327 uint8_t cdev_id; in cn9k_cpt_crypto_adapter_enqueue() local 337 cdev_id = ec_mdata->request_info.cdev_id; in cn9k_cpt_crypto_adapter_enqueue() 339 qp = rte_cryptodevs[cdev_id].data->queue_pairs[qp_id]; in cn9k_cpt_crypto_adapter_enqueue()
|
| /dpdk/app/test/ |
| H A D | test_event_crypto_adapter.c | 89 .cdev_id = TEST_CDEV_ID, 226 m_data.request_info.cdev_id = request_info.cdev_id; in test_op_forward_mode() 245 m_data.request_info.cdev_id = request_info.cdev_id; in test_op_forward_mode()
|
| /dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_ops.c | 712 uint8_t op_type, cdev_id; in otx_crypto_adapter_enqueue() local 721 cdev_id = ec_mdata->request_info.cdev_id; in otx_crypto_adapter_enqueue() 724 instance = rte_cryptodevs[cdev_id].data->queue_pairs[qp_id]; in otx_crypto_adapter_enqueue()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 1742 get_block_size(const struct rte_crypto_sym_xform *xform, uint8_t cdev_id) in get_block_size() argument 1748 rte_cryptodev_info_get(cdev_id, &dev_info); in get_block_size()
|