summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-03-02 11:39:14 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-03-28 16:52:58 -0400
commit13d640a3e9a3ac7ec694843d3d3b785e85fb8cb8 (patch)
tree27ebdcf58b7391721b6ac56595ee0f4ef1108fb3 /include
parent90a6951b58e935124eeb7ecd9fbc2426f841ac0c (diff)
downloadlinux-stable-13d640a3e9a3ac7ec694843d3d3b785e85fb8cb8.tar.gz
linux-stable-13d640a3e9a3ac7ec694843d3d3b785e85fb8cb8.tar.bz2
linux-stable-13d640a3e9a3ac7ec694843d3d3b785e85fb8cb8.zip
virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC
Base on the lastest virtio crypto spec, define VIRTIO_CRYPTO_NOSPC. Reviewed-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Link: https://lore.kernel.org/r/20220302033917.1295334-2-pizhenwei@bytedance.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/virtio_crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_crypto.h b/include/uapi/linux/virtio_crypto.h
index a03932f10565..1166a49084b0 100644
--- a/include/uapi/linux/virtio_crypto.h
+++ b/include/uapi/linux/virtio_crypto.h
@@ -408,6 +408,7 @@ struct virtio_crypto_op_data_req {
#define VIRTIO_CRYPTO_BADMSG 2
#define VIRTIO_CRYPTO_NOTSUPP 3
#define VIRTIO_CRYPTO_INVSESS 4 /* Invalid session id */
+#define VIRTIO_CRYPTO_NOSPC 5 /* no free session ID */
/* The accelerator hardware is ready */
#define VIRTIO_CRYPTO_S_HW_READY (1 << 0)