Lines Matching refs:dev_id
56 uint32_t dev_id, i; in cryptodev_create() local
75 dev_id = (uint32_t)status; in cryptodev_create()
77 if (rte_cryptodev_pmd_is_valid_dev(params->dev_id) == 0) in cryptodev_create()
80 dev_id = params->dev_id; in cryptodev_create()
88 socket_id = rte_cryptodev_socket_id(dev_id); in cryptodev_create()
89 rte_cryptodev_info_get(dev_id, &dev_info); in cryptodev_create()
98 status = rte_cryptodev_configure(dev_id, &dev_conf); in cryptodev_create()
104 status = rte_cryptodev_queue_pair_setup(dev_id, i, in cryptodev_create()
110 if (rte_cryptodev_start(dev_id) < 0) in cryptodev_create()
115 rte_cryptodev_stop(dev_id); in cryptodev_create()
120 cryptodev->dev_id = dev_id; in cryptodev_create()
123 snprintf(mp_name, NAME_SIZE, "%s_mp%u", name, dev_id); in cryptodev_create()
134 snprintf(mp_name, NAME_SIZE, "%s_mp_priv%u", name, dev_id); in cryptodev_create()
138 rte_cryptodev_sym_get_private_session_size(dev_id), in cryptodev_create()