[dpdk-dev] [v4,1/5] eventdev: introduce event crypto adapter

Akhil Goyal akhil.goyal at nxp.com
Wed May 9 09:01:49 CEST 2018


On 5/9/2018 1:16 AM, Abhinandan Gujjar wrote:
> Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar at intel.com>
> Signed-off-by: Nikhil Rao <nikhil.rao at intel.com>
> Signed-off-by: Gage Eads <gage.eads at intel.com>
> ---
[...]

> +
> +/**
> + * @warning
> + * @b EXPERIMENTAL: this structure may change without prior notice
> + *
> + * Crypto event metadata structure will be filled by application
> + * to provide crypto request and event response information.
> + *
> + * If crypto events are enqueued using a HW mechanism, the cryptodev
> + * PMD will use the event response information to set up the event
> + * that is enqueued back to eventdev after completion of the crypto
> + * operation. If the transfer is done by SW, event response information
> + * will be used by the adapter.
> + */
> +union rte_event_crypto_metadata {
> +	struct rte_event_crypto_request request_info;
> +	/**< Request information to be filled in by application
> +	 * for RTE_EVENT_CRYPTO_ADAPTER_OP_NEW mode.
> +	 */
> +	struct rte_event response_info;
> +	/**< Response information to be filled in by application
> +	 * for RTE_EVENT_CRYPTO_ADAPTER_OP_NEW and
> +	 * RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode.
> +	 */
> +};
I think the comments are not correct. It was correct in previous version.
request is for only forward mode and response is for both.

Apart from this:

Patch Series
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>


More information about the dev mailing list