From: Stefan Hajnoczi <stefanha@gmail.com>
To: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-devel@nongnu.org, virtio-dev@lists.oasis-open.org,
weidong.huang@huawei.com, claudio.fontana@huawei.com,
mst@redhat.com, xin.zeng@intel.com, hanweidong@huawei.com,
luonengjun@huawei.com, agraf@suse.de, nmorey@kalray.eu,
mike.caraman@nxp.com, stefanha@redhat.com,
jianjay.zhou@huawei.com, pbonzini@redhat.com,
peter.huangpeng@huawei.com, vincent.jardin@6wind.com,
wu.wubin@huawei.com, arei.gonglei@hotmail.com
Subject: Re: [Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms chainning support
Date: Sun, 16 Oct 2016 14:30:07 +0100 [thread overview]
Message-ID: <20161016133007.GD13294@stefanha-x1.localdomain> (raw)
In-Reply-To: <1476342726-104488-13-git-send-email-arei.gonglei@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
On Thu, Oct 13, 2016 at 03:12:06PM +0800, Gonglei wrote:
> diff --git a/include/standard-headers/linux/virtio_crypto.h b/include/standard-headers/linux/virtio_crypto.h
> index f2a059e..9ae02fb 100644
> --- a/include/standard-headers/linux/virtio_crypto.h
> +++ b/include/standard-headers/linux/virtio_crypto.h
> @@ -326,7 +326,15 @@ struct virtio_crypto_mac_data_req {
> };
>
> struct virtio_crypto_alg_chain_data_para {
> - struct virtio_crypto_cipher_para cipher;
> + __virtio32 iv_len;
> + /* Length of source data */
> + __virtio32 src_data_len;
> + /* Length of destination data */
> + __virtio32 dst_data_len;
> + /* Starting point for cipher processing in source data */
> + __virtio32 cipher_start_src_offset;
> + /* Length of the source data that the cipher will be computed on */
> + __virtio32 len_to_cipher;
> /* Starting point for hash processing in source data */
> __virtio32 hash_start_src_offset;
> /* Length of the source data that the hash will be computed on */
> @@ -335,6 +343,7 @@ struct virtio_crypto_alg_chain_data_para {
> __virtio32 aad_len;
> /* Length of the hash result */
> __virtio32 hash_result_len;
> + __virtio32 reserved;
> };
>
> struct virtio_crypto_alg_chain_data_req {
This is supposed to be an external header file from Linux. QEMU patches
normally don't change the file except to import an updated version.
Please import the final version once in the patch series and don't
modify it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2016-10-16 13:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 7:11 [Qemu-devel] [PATCH v7 00/12] virtio-crypto: introduce framework and device emulation Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 01/12] cryptodev: introduce cryptodev backend interface Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 02/12] cryptodev: add symmetric algorithm operation stuff Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 03/12] virtio-crypto: introduce virtio_crypto.h Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 04/12] cryptodev: introduce a new cryptodev backend Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 05/12] virtio-crypto: add virtio crypto device emulation Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 06/12] virtio-crypto-pci: add virtio crypto pci support Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 07/12] virtio-crypto: set capacity of algorithms supported Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 08/12] virtio-crypto: add control queue handler Gonglei
2016-10-16 13:02 ` Stefan Hajnoczi
2016-10-17 5:58 ` Gonglei (Arei)
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue processing handler Gonglei
2016-10-16 13:22 ` Stefan Hajnoczi
2016-10-17 6:29 ` Gonglei (Arei)
2016-10-18 10:08 ` [Qemu-devel] [virtio-dev] " Stefan Hajnoczi
2016-10-19 3:43 ` Gonglei (Arei)
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified wrapper for crypto operation Gonglei
2016-10-16 13:26 ` Stefan Hajnoczi
2016-10-17 6:32 ` Gonglei (Arei)
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 11/12] virtio-crypto: add myself as virtio-crypto and cryptodev backends maintainer Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms chainning support Gonglei
2016-10-16 13:30 ` Stefan Hajnoczi [this message]
2016-10-17 6:33 ` Gonglei (Arei)
2016-10-13 8:11 ` [Qemu-devel] [PATCH v7 00/12] virtio-crypto: introduce framework and device emulation no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161016133007.GD13294@stefanha-x1.localdomain \
--to=stefanha@gmail.com \
--cc=agraf@suse.de \
--cc=arei.gonglei@hotmail.com \
--cc=arei.gonglei@huawei.com \
--cc=claudio.fontana@huawei.com \
--cc=hanweidong@huawei.com \
--cc=jianjay.zhou@huawei.com \
--cc=luonengjun@huawei.com \
--cc=mike.caraman@nxp.com \
--cc=mst@redhat.com \
--cc=nmorey@kalray.eu \
--cc=pbonzini@redhat.com \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=vincent.jardin@6wind.com \
--cc=virtio-dev@lists.oasis-open.org \
--cc=weidong.huang@huawei.com \
--cc=wu.wubin@huawei.com \
--cc=xin.zeng@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).