Lines Matching refs:cdev_id
821 uint8_t cdev_id = rte_cryptodev_get_dev_id(crypto_name);
824 session_size = rte_cryptodev_sym_get_private_session_size(cdev_id);
872 if (rte_cryptodev_configure(cdev_id, &conf) < 0)
873 rte_exit(EXIT_FAILURE, "Failed to configure cryptodev %u", cdev_id);
875 if (rte_cryptodev_queue_pair_setup(cdev_id, 0, &qp_conf, socket_id) < 0)
878 if (rte_cryptodev_start(cdev_id) < 0)
906 if (rte_cryptodev_sym_session_init(cdev_id, session,
948 uint16_t num_enqueued_ops = rte_cryptodev_enqueue_burst(cdev_id, 0,
958 num_dequeued_ops = rte_cryptodev_dequeue_burst(cdev_id, 0,
1119 uint8_t cdev_id = rte_cryptodev_get_dev_id(crypto_name);
1122 asym_session_size = rte_cryptodev_get_asym_private_session_size(cdev_id);
1146 if (rte_cryptodev_configure(cdev_id, &conf) < 0)
1147 rte_exit(EXIT_FAILURE, "Failed to configure cryptodev %u", cdev_id);
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,
1214 uint16_t num_enqueued_ops = rte_cryptodev_enqueue_burst(cdev_id, 0,
1224 num_dequeued_ops = rte_cryptodev_dequeue_burst(cdev_id, 0,