Home
last modified time | relevance | path

Searched refs:sess_param (Results 1 – 1 of 1) sorted by relevance

/f-stack/dpdk/lib/librte_vhost/
H A Dvhost_crypto.c338 VhostUserCryptoSessionParam *sess_param) in vhost_crypto_create_sess() argument
344 switch (sess_param->op_type) { in vhost_crypto_create_sess()
350 sess_param->session_id = ret; in vhost_crypto_create_sess()
355 if (unlikely(sess_param->hash_mode != in vhost_crypto_create_sess()
357 sess_param->session_id = -VIRTIO_CRYPTO_NOTSUPP; in vhost_crypto_create_sess()
365 ret = transform_chain_param(&xform1, sess_param); in vhost_crypto_create_sess()
368 sess_param->session_id = ret; in vhost_crypto_create_sess()
375 sess_param->session_id = -VIRTIO_CRYPTO_NOTSUPP; in vhost_crypto_create_sess()
382 sess_param->session_id = -VIRTIO_CRYPTO_ERR; in vhost_crypto_create_sess()
389 sess_param->session_id = -VIRTIO_CRYPTO_ERR; in vhost_crypto_create_sess()
[all …]