projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90a6951
)
virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC
author
zhenwei pi
<pizhenwei@bytedance.com>
Wed, 2 Mar 2022 03:39:14 +0000
(11:39 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Mon, 28 Mar 2022 20:52:58 +0000
(16:52 -0400)
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>
include/uapi/linux/virtio_crypto.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/virtio_crypto.h
b/include/uapi/linux/virtio_crypto.h
index a03932f1056523de86ee82a381161f83c17c77da..1166a49084b09f2222ce0db9cc29608b578d9d01 100644
(file)
--- 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)