Lines Matching refs:dev_ops

926 	if (cryptodev->dev_ops) {  in rte_cryptodev_pmd_release_device()
974 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_infos_get, -ENOTSUP); in rte_cryptodev_queue_pairs_config()
975 (*dev->dev_ops->dev_infos_get)(dev, &dev_info); in rte_cryptodev_queue_pairs_config()
1003 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->queue_pair_release, in rte_cryptodev_queue_pairs_config()
1007 ret = (*dev->dev_ops->queue_pair_release)(dev, i); in rte_cryptodev_queue_pairs_config()
1037 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_configure, -ENOTSUP); in rte_cryptodev_configure()
1061 return (*dev->dev_ops->dev_configure)(dev, config); in rte_cryptodev_configure()
1079 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_start, -ENOTSUP); in rte_cryptodev_start()
1087 diag = (*dev->dev_ops->dev_start)(dev); in rte_cryptodev_start()
1112 RTE_FUNC_PTR_OR_RET(*dev->dev_ops->dev_stop); in rte_cryptodev_stop()
1123 (*dev->dev_ops->dev_stop)(dev); in rte_cryptodev_stop()
1159 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->dev_close, -ENOTSUP); in rte_cryptodev_close()
1160 retval = (*dev->dev_ops->dev_close)(dev); in rte_cryptodev_close()
1258 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->queue_pair_setup, -ENOTSUP); in rte_cryptodev_queue_pair_setup()
1261 return (*dev->dev_ops->queue_pair_setup)(dev, queue_pair_id, qp_conf, in rte_cryptodev_queue_pair_setup()
1553 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->stats_get, -ENOTSUP); in rte_cryptodev_stats_get()
1554 (*dev->dev_ops->stats_get)(dev, stats); in rte_cryptodev_stats_get()
1570 RTE_FUNC_PTR_OR_RET(*dev->dev_ops->stats_reset); in rte_cryptodev_stats_reset()
1571 (*dev->dev_ops->stats_reset)(dev); in rte_cryptodev_stats_reset()
1588 RTE_FUNC_PTR_OR_RET(*dev->dev_ops->dev_infos_get); in rte_cryptodev_info_get()
1589 (*dev->dev_ops->dev_infos_get)(dev, dev_info); in rte_cryptodev_info_get()
1735 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->sym_session_configure, -ENOTSUP); in rte_cryptodev_sym_session_init()
1738 ret = dev->dev_ops->sym_session_configure(dev, xforms, in rte_cryptodev_sym_session_init()
1964 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->asym_session_configure, -ENOTSUP); in rte_cryptodev_asym_session_create()
1967 ret = dev->dev_ops->asym_session_configure(dev, xforms, sess); in rte_cryptodev_asym_session_create()
2003 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->sym_session_clear, -ENOTSUP); in rte_cryptodev_sym_session_clear()
2005 dev->dev_ops->sym_session_clear(dev, sess); in rte_cryptodev_sym_session_clear()
2050 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->asym_session_clear, -ENOTSUP); in rte_cryptodev_asym_session_free()
2052 dev->dev_ops->asym_session_clear(dev, sess); in rte_cryptodev_asym_session_free()
2106 if (*dev->dev_ops->sym_session_get_size == NULL) in rte_cryptodev_sym_get_private_session_size()
2109 priv_sess_size = (*dev->dev_ops->sym_session_get_size)(dev); in rte_cryptodev_sym_get_private_session_size()
2125 if (*dev->dev_ops->asym_session_get_size == NULL) in rte_cryptodev_asym_get_private_session_size()
2128 priv_sess_size = (*dev->dev_ops->asym_session_get_size)(dev); in rte_cryptodev_asym_get_private_session_size()
2208 if (*dev->dev_ops->sym_cpu_process == NULL || in rte_cryptodev_sym_cpu_crypto_process()
2214 return dev->dev_ops->sym_cpu_process(dev, sess, ofs, vec); in rte_cryptodev_sym_cpu_crypto_process()
2229 if (*dev->dev_ops->sym_get_raw_dp_ctx_size == NULL || in rte_cryptodev_get_raw_dp_ctx_size()
2234 priv_size = (*dev->dev_ops->sym_get_raw_dp_ctx_size)(dev); in rte_cryptodev_get_raw_dp_ctx_size()
2255 || dev->dev_ops->sym_configure_raw_dp_ctx == NULL) in rte_cryptodev_configure_raw_dp_ctx()
2258 return (*dev->dev_ops->sym_configure_raw_dp_ctx)(dev, qp_id, ctx, in rte_cryptodev_configure_raw_dp_ctx()