Lines Matching refs:dev_ops
802 if (cryptodev->dev_ops) { in rte_cryptodev_pmd_release_device()
850 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_infos_get, -ENOTSUP); in rte_cryptodev_queue_pairs_config()
851 (*dev->dev_ops->dev_infos_get)(dev, &dev_info); in rte_cryptodev_queue_pairs_config()
878 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->queue_pair_release, in rte_cryptodev_queue_pairs_config()
882 ret = (*dev->dev_ops->queue_pair_release)(dev, i); in rte_cryptodev_queue_pairs_config()
928 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_configure, -ENOTSUP); in rte_cryptodev_configure()
940 return (*dev->dev_ops->dev_configure)(dev, config); in rte_cryptodev_configure()
959 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_start, -ENOTSUP); in rte_cryptodev_start()
967 diag = (*dev->dev_ops->dev_start)(dev); in rte_cryptodev_start()
989 RTE_FUNC_PTR_OR_RET(*dev->dev_ops->dev_stop); in rte_cryptodev_stop()
997 (*dev->dev_ops->dev_stop)(dev); in rte_cryptodev_stop()
1033 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_close, -ENOTSUP); in rte_cryptodev_close()
1034 retval = (*dev->dev_ops->dev_close)(dev); in rte_cryptodev_close()
1132 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->queue_pair_setup, -ENOTSUP); in rte_cryptodev_queue_pair_setup()
1135 return (*dev->dev_ops->queue_pair_setup)(dev, queue_pair_id, qp_conf, in rte_cryptodev_queue_pair_setup()
1158 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->stats_get, -ENOTSUP); in rte_cryptodev_stats_get()
1159 (*dev->dev_ops->stats_get)(dev, stats); in rte_cryptodev_stats_get()
1175 RTE_FUNC_PTR_OR_RET(*dev->dev_ops->stats_reset); in rte_cryptodev_stats_reset()
1176 (*dev->dev_ops->stats_reset)(dev); in rte_cryptodev_stats_reset()
1193 RTE_FUNC_PTR_OR_RET(*dev->dev_ops->dev_infos_get); in rte_cryptodev_info_get()
1194 (*dev->dev_ops->dev_infos_get)(dev, dev_info); in rte_cryptodev_info_get()
1340 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->sym_session_configure, -ENOTSUP); in rte_cryptodev_sym_session_init()
1343 ret = dev->dev_ops->sym_session_configure(dev, xforms, in rte_cryptodev_sym_session_init()
1380 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->asym_session_configure, in rte_cryptodev_asym_session_init()
1384 ret = dev->dev_ops->asym_session_configure(dev, in rte_cryptodev_asym_session_init()
1558 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->sym_session_clear, -ENOTSUP); in rte_cryptodev_sym_session_clear()
1560 dev->dev_ops->sym_session_clear(dev, sess); in rte_cryptodev_sym_session_clear()
1582 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->asym_session_clear, -ENOTSUP); in rte_cryptodev_asym_session_clear()
1584 dev->dev_ops->asym_session_clear(dev, sess); in rte_cryptodev_asym_session_clear()
1687 if (*dev->dev_ops->sym_session_get_size == NULL) in rte_cryptodev_sym_get_private_session_size()
1690 priv_sess_size = (*dev->dev_ops->sym_session_get_size)(dev); in rte_cryptodev_sym_get_private_session_size()
1707 if (*dev->dev_ops->asym_session_get_size == NULL) in rte_cryptodev_asym_get_private_session_size()
1710 priv_sess_size = (*dev->dev_ops->asym_session_get_size)(dev); in rte_cryptodev_asym_get_private_session_size()
1766 if (*dev->dev_ops->sym_cpu_process == NULL || in rte_cryptodev_sym_cpu_crypto_process()
1772 return dev->dev_ops->sym_cpu_process(dev, sess, ofs, vec); in rte_cryptodev_sym_cpu_crypto_process()
1787 if (*dev->dev_ops->sym_get_raw_dp_ctx_size == NULL || in rte_cryptodev_get_raw_dp_ctx_size()
1792 priv_size = (*dev->dev_ops->sym_get_raw_dp_ctx_size)(dev); in rte_cryptodev_get_raw_dp_ctx_size()
1813 || dev->dev_ops->sym_configure_raw_dp_ctx == NULL) in rte_cryptodev_configure_raw_dp_ctx()
1816 return (*dev->dev_ops->sym_configure_raw_dp_ctx)(dev, qp_id, ctx, in rte_cryptodev_configure_raw_dp_ctx()