| /dpdk/lib/cryptodev/ |
| H A D | cryptodev_pmd.h | 102 uint8_t driver_id; member 590 RTE_INIT(init_ ##driver_id)\ 592 driver_id = rte_cryptodev_allocate_driver(&crypto_drv, &(drv));\ 608 uint8_t driver_id) { in get_sym_session_private_data() argument 609 if (unlikely(sess->nb_drivers <= driver_id)) in get_sym_session_private_data() 612 return sess->sess_data[driver_id].data; in get_sym_session_private_data() 617 uint8_t driver_id, void *private_data) in set_sym_session_private_data() argument 619 if (unlikely(sess->nb_drivers <= driver_id)) { in set_sym_session_private_data() 621 driver_id); in set_sym_session_private_data() 625 sess->sess_data[driver_id].data = private_data; in set_sym_session_private_data() [all …]
|
| H A D | rte_cryptodev.c | 711 rte_cryptodev_device_count_by_driver(uint8_t driver_id) in rte_cryptodev_device_count_by_driver() argument 716 if (cryptodev_globals.devs[i].driver_id == driver_id && in rte_cryptodev_device_count_by_driver() 1244 obj_size) || (s.nb_drivers <= dev->driver_id) || in rte_cryptodev_queue_pair_setup() 1731 index = dev->driver_id; in rte_cryptodev_sym_session_init() 1957 sess->driver_id = dev->driver_id; in rte_cryptodev_asym_session_create() 1985 uint8_t driver_id; in rte_cryptodev_sym_session_clear() local 1997 driver_id = dev->driver_id; in rte_cryptodev_sym_session_clear() 1998 if (sess->sess_data[driver_id].refcnt == 0) in rte_cryptodev_sym_session_clear() 2000 if (--sess->sess_data[driver_id].refcnt != 0) in rte_cryptodev_sym_session_clear() 2451 rte_cryptodev_driver_name_get(uint8_t driver_id) in rte_cryptodev_driver_name_get() argument [all …]
|
| H A D | rte_cryptodev.h | 499 uint8_t driver_id; /**< Driver identifier */ member 642 rte_cryptodev_device_count_by_driver(uint8_t driver_id); 1174 const char *rte_cryptodev_driver_name_get(uint8_t driver_id);
|
| /dpdk/drivers/crypto/scheduler/ |
| H A D | rte_cryptodev_scheduler.c | 176 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_worker_attach() 204 worker->driver_id = dev_info.driver_id; in rte_cryptodev_scheduler_worker_attach() 209 worker->driver_id = 0; in rte_cryptodev_scheduler_worker_attach() 235 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_worker_detach() 292 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_mode_set() 355 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_mode_get() 377 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_ordering_set() 405 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_ordering_get() 427 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_load_user_scheduler() 499 if (dev->driver_id != cryptodev_scheduler_driver_id) { in rte_cryptodev_scheduler_workers_get() [all …]
|
| H A D | scheduler_pmd_private.h | 26 uint8_t driver_id; member
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_cryptodev_ops.c | 559 sym_session_configure(struct roc_cpt *roc_cpt, int driver_id, in sym_session_configure() argument 595 set_sym_session_private_data(sess, driver_id, sess_priv); in sym_session_configure() 613 uint8_t driver_id; in cnxk_cpt_sym_session_configure() local 615 driver_id = dev->driver_id; in cnxk_cpt_sym_session_configure() 617 return sym_session_configure(roc_cpt, driver_id, xform, sess, pool); in cnxk_cpt_sym_session_configure() 621 sym_session_clear(int driver_id, struct rte_cryptodev_sym_session *sess) in sym_session_clear() argument 623 void *priv = get_sym_session_private_data(sess, driver_id); in sym_session_clear() 639 set_sym_session_private_data(sess, driver_id, NULL); in sym_session_clear() 648 return sym_session_clear(dev->driver_id, sess); in cnxk_cpt_sym_session_clear()
|
| H A D | cnxk_cryptodev_ops.h | 109 int sym_session_configure(struct roc_cpt *roc_cpt, int driver_id, 117 void sym_session_clear(int driver_id, struct rte_cryptodev_sym_session *sess);
|
| H A D | cn10k_cryptodev_ops.c | 24 const int driver_id = cn10k_cryptodev_driver_id; in cn10k_cpt_sym_temp_sess_create() local 35 ret = sym_session_configure(qp->lf.roc_cpt, driver_id, sym_op->xform, in cn10k_cpt_sym_temp_sess_create() 40 priv = get_sym_session_private_data(sess, driver_id); in cn10k_cpt_sym_temp_sess_create() 568 info->driver_id = cn10k_cryptodev_driver_id; in cn10k_cpt_dev_info_get()
|
| H A D | cn9k_cryptodev_ops.c | 73 const int driver_id = cn9k_cryptodev_driver_id; in cn9k_cpt_sym_temp_sess_create() local 84 ret = sym_session_configure(qp->lf.roc_cpt, driver_id, sym_op->xform, in cn9k_cpt_sym_temp_sess_create() 89 priv = get_sym_session_private_data(sess, driver_id); in cn9k_cpt_sym_temp_sess_create() 589 info->driver_id = cn9k_cryptodev_driver_id; in cn9k_cpt_dev_info_get()
|
| H A D | cn9k_cryptodev.c | 97 dev->driver_id = cn9k_cryptodev_driver_id; in cn9k_cpt_pci_probe()
|
| H A D | cn10k_cryptodev.c | 99 dev->driver_id = cn10k_cryptodev_driver_id; in cn10k_cpt_pci_probe()
|
| /dpdk/drivers/crypto/armv8/ |
| H A D | rte_armv8_pmd_ops.c | 151 dev_info->driver_id = dev->driver_id; in armv8_crypto_pmd_info_get() 296 set_sym_session_private_data(sess, dev->driver_id, in armv8_crypto_pmd_sym_session_configure() 307 uint8_t index = dev->driver_id; in armv8_crypto_pmd_sym_session_clear()
|
| /dpdk/drivers/crypto/null/ |
| H A D | null_crypto_pmd_ops.c | 122 dev_info->driver_id = dev->driver_id; in null_crypto_pmd_info_get() 285 set_sym_session_private_data(sess, dev->driver_id, in null_crypto_pmd_sym_session_configure() 296 uint8_t index = dev->driver_id; in null_crypto_pmd_sym_session_clear()
|
| /dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_ops.c | 128 info->driver_id = otx_cryptodev_driver_id; in otx_cpt_dev_info_get() 246 sym_session_configure(int driver_id, struct rte_crypto_sym_xform *xform, in sym_session_configure() argument 304 set_sym_session_private_data(sess, driver_id, priv); in sym_session_configure() 325 sym_session_clear(int driver_id, struct rte_cryptodev_sym_session *sess) in sym_session_clear() argument 327 void *priv = get_sym_session_private_data(sess, driver_id); in sym_session_clear() 344 set_sym_session_private_data(sess, driver_id, NULL); in sym_session_clear() 357 return sym_session_configure(dev->driver_id, xform, sess, pool); in otx_cpt_session_cfg() 367 return sym_session_clear(dev->driver_id, sess); in otx_cpt_session_clear() 563 const int driver_id = otx_cryptodev_driver_id; in otx_cpt_enq_single_sym_sessless() local 576 ret = sym_session_configure(driver_id, sym_op->xform, sess, in otx_cpt_enq_single_sym_sessless() [all …]
|
| H A D | otx_cryptodev.c | 51 cryptodev->driver_id = otx_cryptodev_driver_id; in otx_cpt_pci_probe()
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | ipsec_mb_ops.c | 87 dev_info->driver_id = dev->driver_id; in ipsec_mb_info_get() 349 set_sym_session_private_data(sess, dev->driver_id, sess_private_data); in ipsec_mb_sym_session_configure() 360 uint8_t index = dev->driver_id; in ipsec_mb_sym_session_clear()
|
| H A D | ipsec_mb_private.c | 99 dev->driver_id = ipsec_mb_get_driver_id(pmd_type); in ipsec_mb_create() 100 if (dev->driver_id == UINT8_MAX) { in ipsec_mb_create()
|
| H A D | ipsec_mb_private.h | 410 uint32_t driver_id = ipsec_mb_get_driver_id(qp->pmd_type); in ipsec_mb_get_session_private() local 421 driver_id); in ipsec_mb_get_session_private() 442 set_sym_session_private_data(sym_op->session, driver_id, in ipsec_mb_get_session_private()
|
| /dpdk/drivers/crypto/qat/ |
| H A D | qat_crypto.c | 57 info->driver_id = qat_asym_driver_id; in qat_cryptodev_info_get() 60 info->driver_id = qat_sym_driver_id; in qat_cryptodev_info_get()
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_pmd_ops.c | 621 dev_info->driver_id = dev->driver_id; in ccp_pmd_info_get() 785 set_sym_session_private_data(sess, dev->driver_id, in ccp_pmd_sym_session_configure() 795 uint8_t index = dev->driver_id; in ccp_pmd_sym_session_clear()
|
| /dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd_ops.c | 577 dev_info->driver_id = dev->driver_id; in mrvl_crypto_pmd_info_get() 767 set_sym_session_private_data(sess, dev->driver_id, sess_private_data); in mrvl_crypto_pmd_sym_session_configure() 794 uint8_t index = dev->driver_id; in mrvl_crypto_pmd_sym_session_clear()
|
| /dpdk/drivers/crypto/mlx5/ |
| H A D | mlx5_crypto.c | 100 dev_info->driver_id = mlx5_crypto_driver_id; in mlx5_crypto_dev_infos_get() 134 DRV_LOG(DEBUG, "Device %u was configured.", dev->driver_id); in mlx5_crypto_dev_configure() 158 DRV_LOG(DEBUG, "Device %u was closed.", dev->driver_id); in mlx5_crypto_dev_close() 239 set_sym_session_private_data(session, dev->driver_id, in mlx5_crypto_sym_session_configure() 251 dev->driver_id); in mlx5_crypto_sym_session_clear() 258 set_sym_session_private_data(sess, dev->driver_id, NULL); in mlx5_crypto_sym_session_clear() 929 crypto_dev->driver_id = mlx5_crypto_driver_id; in mlx5_crypto_dev_probe()
|
| /dpdk/drivers/crypto/nitrox/ |
| H A D | nitrox_sym.c | 132 info->driver_id = nitrox_sym_drv_id; in nitrox_sym_dev_info_get() 589 set_sym_session_private_data(sess, cdev->driver_id, ctx); in nitrox_sym_dev_sess_configure() 601 cdev->driver_id); in nitrox_sym_dev_sess_clear() 609 set_sym_session_private_data(sess, cdev->driver_id, NULL); in nitrox_sym_dev_sess_clear() 770 cdev->driver_id = nitrox_sym_drv_id; in nitrox_sym_pmd_create()
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym_session.c | 253 set_sym_session_private_data(sess, dev->driver_id, in bcmfs_sym_session_configure() 264 uint8_t index = dev->driver_id; in bcmfs_sym_session_clear()
|
| /dpdk/drivers/crypto/openssl/ |
| H A D | rte_openssl_pmd_ops.c | 646 dev_info->driver_id = dev->driver_id; in openssl_pmd_info_get() 799 set_sym_session_private_data(sess, dev->driver_id, in openssl_pmd_sym_session_configure() 1146 uint8_t index = dev->driver_id; in openssl_pmd_sym_session_clear()
|