Searched refs:security_ctx (Results 1 – 22 of 22) sorted by relevance
165 if (cryptodev->security_ctx) { in ipsec_mb_remove()166 rte_free(cryptodev->security_ctx); in ipsec_mb_remove()167 cryptodev->security_ctx = NULL; in ipsec_mb_remove()170 rte_free(cryptodev->security_ctx); in ipsec_mb_remove()171 cryptodev->security_ctx = NULL; in ipsec_mb_remove()
2057 dev->security_ctx = security_instance; in aesni_mb_configure_dev()
40 cdev->security_ctx = ctx; in cnxk_crypto_sec_ctx_create()48 rte_free(cdev->security_ctx); in cnxk_crypto_sec_ctx_destroy()
261 cryptodev->security_ctx = in qat_sym_dev_create()263 if (cryptodev->security_ctx == NULL) { in qat_sym_dev_create()322 rte_free(cryptodev->security_ctx); in qat_sym_dev_create()323 cryptodev->security_ctx = NULL; in qat_sym_dev_create()347 rte_free(cryptodev->security_ctx); in qat_sym_dev_destroy()348 cryptodev->security_ctx = NULL; in qat_sym_dev_destroy()
649 struct iavf_security_ctx *iavf_sctx = adapter->security_ctx; in iavf_ipsec_crypto_session_create()1139 struct iavf_security_ctx *iavf_sctx = adapter->security_ctx; in iavf_ipsec_crypto_pkt_metadata_set()1403 struct iavf_security_ctx *iavf_sctx = adapter->security_ctx; in iavf_ipsec_crypto_capabilities_get()1498 adapter->vf.eth_dev->security_ctx = sctx; in iavf_security_ctx_create()1500 if (adapter->security_ctx == NULL) { in iavf_security_ctx_create()1501 adapter->security_ctx = rte_malloc("iavf_security_ctx", in iavf_security_ctx_create()1503 if (adapter->security_ctx == NULL) in iavf_security_ctx_create()1513 struct iavf_security_ctx *iavf_sctx = adapter->security_ctx; in iavf_security_init()1540 struct iavf_security_ctx *iavf_sctx = adapter->security_ctx; in iavf_security_get_pkt_md_offset()1560 adapter->security_ctx = NULL; in iavf_security_ctx_destroy()[all …]
307 struct iavf_security_ctx *security_ctx; member329 (((struct iavf_adapter *)adapter)->security_ctx)
108 void *security_ctx; member
756 return rte_crypto_devices[dev_id].security_ctx; in rte_cryptodev_get_sec_ctx()
1646 eth_dev->security_ctx = sec_ctx; in cnxk_eth_dev_init()1772 plt_free(eth_dev->security_ctx); in cnxk_eth_dev_uninit()1773 eth_dev->security_ctx = NULL; in cnxk_eth_dev_uninit()
84 void *security_ctx; /**< Context for security ops */ member
579 return rte_eth_devices[port_id].security_ctx; in rte_eth_dev_get_sec_ctx()
750 dev->security_ctx = ctx; in ixgbe_ipsec_ctx_create()
2611 if (dev->security_ctx) in ixgbe_get_tx_port_offloads()3066 if (dev->security_ctx) in ixgbe_get_rx_port_offloads()
3054 rte_free(dev->security_ctx); in ixgbe_dev_close()3055 dev->security_ctx = NULL; in ixgbe_dev_close()
724 dev->security_ctx = ctx; in txgbe_ipsec_ctx_create()
1999 if (dev->security_ctx) in txgbe_get_rx_port_offloads()2249 if (dev->security_ctx) in txgbe_get_tx_port_offloads()
2034 rte_free(dev->security_ctx); in txgbe_dev_close()2035 dev->security_ctx = NULL; in txgbe_dev_close()
437 A new parameter ``security_ctx`` has been added to ``rte_eth_dev`` to442 A new parameter ``security_ctx`` has been added to ``rte_cryptodev`` to
1109 dev->security_ctx = security_instance; in cryptodev_mrvl_crypto_create()
2155 rte_free(dev->security_ctx); in caam_jr_dev_uninit()2376 dev->security_ctx = security_instance; in caam_jr_dev_init()
3604 rte_free(dev->security_ctx); in dpaa_sec_uninit()3726 cryptodev->security_ctx = security_instance; in dpaa_sec_dev_init()3758 rte_free(cryptodev->security_ctx); in dpaa_sec_dev_init()
4255 rte_free(dev->security_ctx); in dpaa2_sec_uninit()4364 cryptodev->security_ctx = security_instance; in dpaa2_sec_dev_init()