RE: [virtio-dev] Re: [PATCH v25 0/2] virtio-crypto: virtio crypto device specification

2018-08-28 Thread Gonglei (Arei)
> > On Tue, Aug 28, 2018 at 03:31:02AM +, Gonglei (Arei) wrote: > > > > > -Original Message- > > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > > Sent: Friday, August 24, 2018 8:54 PM > > > > > > On Fri, Aug 24, 2

RE: [virtio-dev] Re: [PATCH v25 0/2] virtio-crypto: virtio crypto device specification

2018-08-27 Thread Gonglei (Arei)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Friday, August 24, 2018 8:54 PM > > On Fri, Aug 24, 2018 at 12:07:44PM +, Gonglei (Arei) wrote: > > Hi Michael, > > > > > -Original Message- > &g

RE: [virtio-dev] Re: [PATCH v25 0/2] virtio-crypto: virtio crypto device specification

2018-08-24 Thread Gonglei (Arei)
Hi Michael, > -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Friday, August 24, 2018 7:23 PM > To: longpeng > Cc: xin.z...@intel.com; Gonglei (Arei) ; > pa...@linux.

[virtio-dev] RE: [Qemu-devel] [v22 1/2] virtio-crypto: Add virtio crypto device specification

2017-12-07 Thread Gonglei (Arei)
> > On 12/06/2017 08:37 AM, Longpeng(Mike) wrote: > > +\field{outcome_len} is the size of struct virtio_crypto_session_input or > > +ZERO for the session-destroy operation. > > This ain't correct. It should have been something like > virtio_crypto_destroy_session_input. > Right, will fix it. >

[virtio-dev] RE: [Qemu-devel] [virtio-dev] Re: [v21 1/2] virtio-crypto: Add virtio crypto device specification

2017-11-13 Thread Gonglei (Arei)
Hello Halil, Thanks for your feedback. > > On 11/13/2017 08:17 AM, Gonglei (Arei) wrote: > >>> +struct virtio_crypto_cipher_session_req { > >>> +/* Device-readable part */ > >>> +struct virtio_crypto_cipher_session_para para; > >>&

RE: [virtio-dev] Re: [Qemu-devel] [v21 1/2] virtio-crypto: Add virtio crypto device specification

2017-11-12 Thread Gonglei (Arei)
Hi, > > > +The controlq request is composed of two parts: > > +\begin{lstlisting} > > +struct virtio_crypto_op_ctrl_req { > > +struct virtio_crypto_ctrl_header header; > > + > > +/* additional paramenter */ > > +u8 additional_para[addl_para_len]; > > What does additional paramenter

[virtio-dev] RE: [v21 RESEND 0/2] virtio-crypto: virtio crypto device specification

2017-11-06 Thread Gonglei (Arei)
; > Huangweidong (C); ag...@suse.de; jasow...@redhat.com; > vincent.jar...@6wind.com; Gonglei (Arei); pa...@linux.vnet.ibm.com; wangxin > (U); Zhoujian (jay); longpeng > Subject: [v21 RESEND 0/2] virtio-crypto: virtio crypto device specification > > This is the specification about th

[virtio-dev] RE: [Qemu-devel] [virtio-dev] Re: [virtio-dev] Re: [RFC 0/8] virtio-crypto: add multiplexing mode support

2017-10-09 Thread Gonglei (Arei)
> -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Monday, October 09, 2017 7:05 PM > > On 10/09/2017 11:22 AM, Gonglei (Arei) wrote: > > The next patch refactors make sense to me, > > but why do we need to decouple the virt

[virtio-dev] RE: [Qemu-devel] [virtio-dev] Re: [virtio-dev] Re: [RFC 0/8] virtio-crypto: add multiplexing mode support

2017-10-09 Thread Gonglei (Arei)
> -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Friday, October 06, 2017 10:25 PM > On 09/18/2017 03:17 AM, Longpeng (Mike) wrote: > > > > > > On 2017/9/16 1:33, Halil Pasic wrote: > > > >> > >> > >> On 09/14/2017 02:58 AM, Longpeng (Mike) wrote: > >>> >

[virtio-dev] RE: [Qemu-devel] [PATCH REPOST v19 1/2] virtio-crypto: Add virtio crypto device specification

2017-09-18 Thread Gonglei (Arei)
> -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Monday, September 18, 2017 9:08 PM > Subject: Re: [Qemu-devel] [PATCH REPOST v19 1/2] virtio-crypto: Add virtio > crypto device specification > > > > On 09/18/2017 02:

RE: [virtio-dev] RE: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-05 Thread Gonglei (Arei)
> > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Friday, May 05, 2017 9:52 PM > > On 05/05/2017 05:39 AM, Gonglei (Arei) wrote: > >> > >> > >> On 05/04/2017 04:13 PM, Gonglei (Arei) wrote: > >>>> > >>>>

RE: [virtio-dev] RE: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
> > > On 05/04/2017 03:53 PM, Gonglei (Arei) wrote: > > Sorry, I missed one comment in the previous reply. > > > >> > >>> +\end{itemize*} > >>> + > >> > >> What about extensibility regarding "detailed algorithms

[virtio-dev] RE: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
> > > On 05/04/2017 03:33 PM, Gonglei (Arei) wrote: > >>> +\begin{description} > >>> +\item[VIRTIO_CRYPTO_F_CIPHER_STATELESS_MODE] Requires > >> VIRTIO_CRYPTO_F_STATELESS_MODE. > >>> +\item[VIRTIO_CRYPTO_F_HASH_STATELESS_MODE] Requ

[virtio-dev] RE: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
Sorry, I missed one comment in the previous reply. > > > +\end{itemize*} > > + > > What about extensibility regarding "detailed algorithms"? Is the driver > required ignore algorithms > it does not "know about"? Should we reserve the not (yet) defined bits? > I mean the device MUST set the

[virtio-dev] RE: [Qemu-devel] [PATCH v18 1/2] virtio-crypto: Add virtio crypto device specification

2017-05-04 Thread Gonglei (Arei)
Hi Halil, > > > On 04/22/2017 08:23 AM, Gonglei wrote: > > The virtio crypto device is a virtual crypto device (ie. hardware > > crypto accelerator card). Currently, the virtio crypto device provides > > the following crypto services: CIPHER, MAC, HASH, and AEAD. > > > > In this patch, CIPHER,

[virtio-dev] Require for English style review (was RE: [PATCH v17 0/2] virtio-crypto: virtio crypto device specification)

2017-04-21 Thread Gonglei (Arei)
Hi all, As a non-native English speaker, I sincerely hope you give me more suggestions about English style and/or grammar for the spec. Thanks in advance! -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, April 13, 2017 5:11 PM > To: qemu-de...@nongnu

[virtio-dev] RE: [Qemu-devel] [PATCH v17 1/2] virtio-crypto: Add virtio crypto device specification

2017-04-19 Thread Gonglei (Arei)
Hi Stefan, Thanks for your comments firstly. :) > > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Wednesday, April 19, 2017 1:02 AM > Subject: Re: [Qemu-devel] [PATCH v17 1/2] virtio-crypto: Add virtio crypto > device specification > > On Thu, Apr 13, 2017 at 05:11:13PM +0800,

RE: [virtio-dev] Re: [Qemu-devel] [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-09 Thread Gonglei (Arei)
Hi, > > > On 02/08/2017 07:24 AM, Gonglei (Arei) wrote: > > Hi Halil, > > > > Thanks for your comments firstly. > > > > You are welcome :). Sorry it took so long -- I'm currently > quite busy. > It's fine. > >> > >> On 01/

RE: [virtio-dev] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification

2017-02-08 Thread Gonglei (Arei)
Hi Halil, Thanks for your comments firstly. > > On 01/18/2017 09:22 AM, Gonglei wrote: > > The virtio crypto device is a virtual crypto device (ie. hardware > > crypto accelerator card). Currently, the virtio crypto device provides > > the following crypto services: CIPHER, MAC, HASH, and AEAD.

[virtio-dev] RE: [Qemu-devel] [virtio-dev] Re: [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-17 Thread Gonglei (Arei)
Hi Halil, > > On 01/16/2017 01:43 PM, Gonglei (Arei) wrote: > > Hi Michael and others, > > > > I'd like to redefine struct virtio_crypto_op_data_req is as below: > > > > struct virtio_crypto_op_data_req { > > struct virtio_crypto_op_header head

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v15 0/2] virtio-crypto: virtio crypto device specification

2017-01-17 Thread Gonglei (Arei)
to change the length of struct virtio_crypto_op_data_req.u Is the approach available? Thanks, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Saturday, January 14, 2017 9:21 AM > To: 'Michael S. Tsirkin' > Cc: Halil Pasic; qemu-de...@nongnu.org; virtio-

[virtio-dev] RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-15 Thread Gonglei (Arei)
Hi, > > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > > > On 12/12/2016 11:05 PM, Michael S. Tsirkin wrote: > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > >> On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) w

RE: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver

2016-11-27 Thread Gonglei (Arei)
Hi Michael, > > Subject: [virtio-dev] Re: [PATCH v2 2/2] crypto: add virtio-crypto driver > > On Tue, Nov 22, 2016 at 04:10:23PM +0800, Gonglei wrote: > > This patch introduces virtio-crypto driver for Linux Kernel. > > > > The virtio crypto device is a virtual cryptography device > > as well as

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 04:34:56AM +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wr

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
> > Subject: Re: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian > functions for virtio_cread/write# family > > On Mon, Nov 28, 2016 at 01:56:04AM +, Gonglei (Arei) wrote: > > Hi Michael, > > > > Thanks for your feedback firstly! > > >

RE: [virtio-dev] Re: [PATCH v2 1/2] virtio: introduce little edian functions for virtio_cread/write# family

2016-11-27 Thread Gonglei (Arei)
Hi Michael, Thanks for your feedback firstly! > -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Sunday, November 27, 2016 11:33 AM > To: Gonglei (Arei) > Subject: [virtio-dev]

[virtio-dev] RE: [PATCH v2 0/2] virtio-crypto: add Linux driver

2016-11-26 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Gonglei (Arei) > Sent: Tuesday, November 22, 2016 4:10 PM > To: linux-ker...@vger.kernel.org; qemu-de...@nongnu.org; > virtio-dev@lists.oasis-open.org; virtualizat...@lists.linux-foundation.org; > linux-cry...@vger.kernel.org > S

[virtio-dev] RE: [Qemu-devel] [PATCH v14 1/2] virtio-crypto: Add virtio crypto device specification

2016-11-21 Thread Gonglei (Arei)
Hi, > > Subject: Re: [Qemu-devel] [PATCH v14 1/2] virtio-crypto: Add virtio crypto > device specification > > On Sun, 20 Nov 2016 08:45:57 + > gong lei wrote: > > > On 2016/11/17 2:11, Halil Pasic wrote: > > > On 11/11/2016 10:23 AM, Gonglei wrote: > > > >> +The

[virtio-dev] RE: [PATCH] crypto: add virtio-crypto driver

2016-11-16 Thread Gonglei (Arei)
Hi Michael, May I should convert all __virtio32/64 to le32/64 in virtio_crypto.h ? > +#define VIRTIO_CRYPTO_OPCODE(service, op) (((service) << 8) | (op)) > + > +struct virtio_crypto_ctrl_header { > +#define VIRTIO_CRYPTO_CIPHER_CREATE_SESSION \ > +

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add virtio crypto device specification

2016-11-10 Thread Gonglei (Arei)
> From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Subject: [virtio-dev] Re: [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add > virtio > crypto device specification > > On Thu, Nov 10, 2016 at 09:37:40AM +,

[virtio-dev] RE: [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add virtio crypto device specification

2016-11-10 Thread Gonglei (Arei)
is incorrect, VIRTIO_CRYPTO_BADMSG (bad message) MUST be returned to the driver. \end{itemize*} \ No newline at end of file Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Thursday, November 10, 2016 10:33 AM > To: 'Cornelia Huck' > Cc: Halil Pasic; qemu-de...@nongnu.

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add virtio crypto device specification

2016-11-09 Thread Gonglei (Arei)
> > Subject: [virtio-dev] Re: [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add > virtio > crypto device specification > > On Wed, Nov 09, 2016 at 01:11:20AM +0000, Gonglei (Arei) wrote: > > Nope, Actually I kept those description here is because I wanted to >

[virtio-dev] RE: [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add virtio crypto device specification

2016-11-08 Thread Gonglei (Arei)
Hi, > > [..] > > +The header is the general header and the union is of the algorithm-specific > type, > > +which is set by the driver. All properties in the union are shown as > > follows. > > + > > +There is a unified idata structure for all symmetric algorithms, including > CIPHER, HASH, MAC,

[virtio-dev] RE: [Qemu-devel] [PATCH v9 00/12] virtio-crypto: introduce framework and device emulation

2016-11-03 Thread Gonglei (Arei)
> -Original Message- > From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Thursday, November 03, 2016 1:35 AM > Subject: Re: [Qemu-devel] [PATCH v9 00/12] virtio-crypto: introduce framework > and device emulation > > > > On 10/31/2016 03:

[virtio-dev] RE: [Qemu-devel] [PATCH v9 00/12] virtio-crypto: introduce framework and device emulation

2016-10-30 Thread Gonglei (Arei)
> From: Halil Pasic [mailto:pa...@linux.vnet.ibm.com] > Sent: Monday, October 31, 2016 4:00 AM > Subject: Re: [Qemu-devel] [PATCH v9 00/12] virtio-crypto: introduce framework > and device emulation > > > > On 10/20/2016 01:45 PM, Gonglei wrote: > > The front-end linux kernel driver

RE: [virtio-dev] Re: [PATCH v9 00/12] virtio-crypto: introduce framework and device emulation

2016-10-25 Thread Gonglei (Arei)
out virtio-crypto spec. Regards, -Gonglei > > On Tue, Oct 25, 2016 at 11:20:35AM +, Gonglei (Arei) wrote: > > Hi Michael and Stefan, > > > > Ping... > > > > Would you please review and/or merge this feature for Qemu 2.8 >

RE: [virtio-dev] RE: [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue processing handler

2016-10-18 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Tuesday, October 18, 2016 6:09 PM > Subject: Re: [virtio-dev] RE: [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add > data queue processing handler > > On Mon, Oct 17, 2016 at 06:29:42AM

[virtio-dev] RE: [PATCH v8 09/11] virtio-crypto: add data queue processing handler

2016-10-17 Thread Gonglei (Arei)
> +static CryptoDevBackendSymOpInfo * > +virtio_crypto_sym_op_helper(VirtIODevice *vdev, > + struct virtio_crypto_cipher_para *cipher_para, > + struct virtio_crypto_alg_chain_data_para *alg_chain_para, > + struct iovec *iov, unsigned int out_num) > +{ > +

[virtio-dev] RE: [PATCH v6 01/12] virtio-crypto: introduce virtio_crypto.h

2016-10-10 Thread Gonglei (Arei)
> -Original Message- > From: Eric Blake [mailto:ebl...@redhat.com] > Sent: Tuesday, October 11, 2016 3:58 AM > Subject: Re: [PATCH v6 01/12] virtio-crypto: introduce virtio_crypto.h > > On 10/10/2016 03:43 AM, Gonglei wrote: > > Introduce the virtio_crypto.h which follows > >

[virtio-dev] RE: [PATCH v6 00/12] virtio-crypto: introduce framework and device emulation

2016-10-10 Thread Gonglei (Arei)
> -Original Message- > From: Eric Blake [mailto:ebl...@redhat.com] > Sent: Tuesday, October 11, 2016 3:53 AM > Subject: Re: [PATCH v6 00/12] virtio-crypto: introduce framework and device > emulation > > On 10/10/2016 03:43 AM, Gonglei wrote: > > The virtio crypto is a virtual crypto

[virtio-dev] RE: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto device specification

2016-10-04 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Wednesday, October 05, 2016 12:16 AM > Subject: Re: [Qemu-devel] [PATCH v11 1/2] virtio-crypto: Add virtio crypto > device specification > > On Tue, Oct 04, 2016 at 12:24:02PM +, gong lei wrote: > > On

RE: [virtio-dev] Re: [PATCH v4 00/13] virtio-crypto: introduce framework and device emulation

2016-10-04 Thread Gonglei (Arei)
> -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Stefan Hajnoczi > Sent: Tuesday, October 04, 2016 6:13 PM > Subject: [virtio-dev] Re: [PATCH v4 00/13] virtio-crypto: introduce framework > and device emulation > > On

[virtio-dev] RE: [PATCH v3 00/10] virtio-crypto: introduce framework and device emulation

2016-09-21 Thread Gonglei (Arei)
Hi Michael, Stefan and Paolo, Would you please help to review virtio stuff in the patch set? Thanks! Regards, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Monday, September 19, 2016 4:16 PM > Subject: [PATCH v3 00/10] virtio-crypto: introduce framewor

[virtio-dev] RE: [V0 1/1] virtio crypto device specification: asymmetric crypto service

2016-09-21 Thread Gonglei (Arei)
Hi Xin, Here you go. ;) > -Original Message- > From: Xin Zeng [mailto:xin.z...@intel.com] > Sent: Wednesday, September 21, 2016 1:15 PM > To: virtio-dev@lists.oasis-open.org; qemu-de...@nongnu.org; Gonglei (Arei) > Cc: m...@redhat.com; brian.a.keat...@intel.com; john.gr

RE: [virtio-dev] Re: [PATCH v10 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-20 Thread Gonglei (Arei)
Hi Michael, > -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Wednesday, September 21, 2016 3:11 AM > Subject: [virtio-dev] Re: [PATCH v10 1/2] virtio-crypto: Add virtio crypto > device >

RE: [virtio-dev] [PATCH] virtio crypto device specification

2016-09-20 Thread Gonglei (Arei)
> -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Xin Zeng > Sent: Tuesday, September 20, 2016 11:47 PM > Subject: [virtio-dev] [PATCH] virtio crypto device specification > > Fix spelling mistakes of keywords to make

RE: [virtio-dev] Re: [PATCH v2 02/15] crypto: introduce crypto queue handler

2016-09-13 Thread Gonglei (Arei)
Hi Ola, > -Original Message- > From: Ola Liljedahl [mailto:ola.liljed...@arm.com] > Sent: Tuesday, September 13, 2016 7:53 PM > To: Paolo Bonzini; Daniel P. Berrange; Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; Huangpeng > (Pet

RE: [virtio-dev] Re: [PATCH v2 02/15] crypto: introduce crypto queue handler

2016-09-13 Thread Gonglei (Arei)
Hi Paolo, > -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Paolo Bonzini > Sent: Tuesday, September 13, 2016 6:58 PM > To: Daniel P. Berrange; Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-dev@li

[virtio-dev] RE: [PATCH v2 03/15] crypto: add cryptoLegacyHW stuff

2016-09-13 Thread Gonglei (Arei)
> -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Tuesday, September 13, 2016 6:09 PM > To: Gonglei (Arei) > Subject: Re: [PATCH v2 03/15] crypto: add cryptoLegacyHW stuff > > On Tue, Sep 13, 2016 at 10:05:01AM +,

[virtio-dev] RE: [PATCH v2 00/15] virtio-crypto: introduce framework and device emulation

2016-09-13 Thread Gonglei (Arei)
> -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Tuesday, September 13, 2016 5:54 PM > To: Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; Huangpeng > (Peter); Luonengjun; m...@redhat.com; stefa...@r

[virtio-dev] RE: [PATCH v2 03/15] crypto: add cryptoLegacyHW stuff

2016-09-13 Thread Gonglei (Arei)
> -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Tuesday, September 13, 2016 5:23 PM > To: Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; Huangpeng > (Peter); Luonengjun; m...@redhat.com; stefa...@r

[virtio-dev] RE: [PATCH v2 01/15] crypto: introduce cryptodev backend and crypto legacy hardware

2016-09-13 Thread Gonglei (Arei)
> > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Tuesday, September 13, 2016 5:14 PM > Subject: Re: [PATCH v2 01/15] crypto: introduce cryptodev backend and crypto > legacy hardware > > On Tue, Sep 13, 2016 at 11:52:07AM +0800, Gonglei wrote: > > cryptodev backend is used to

[virtio-dev] RE: [PATCH v2 00/15] virtio-crypto: introduce framework and device emulation

2016-09-13 Thread Gonglei (Arei)
Hi Daniel, Thanks for your comments fristly, please see my embedded reply. Regards, -Gonglei > -Original Message- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Tuesday, September 13, 2016 4:58 PM > To: Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-

[virtio-dev] RE: [PATCH v9 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-08 Thread Gonglei (Arei)
Hi Michael, > -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Friday, September 09, 2016 12:44 AM > Subject: Re: [PATCH v9 1/2] virtio-crypto: Add virtio crypto device > specification > > On Thu, Sep 08, 2016 at 06:05:14PM +0800, Gonglei wrote: > > The

RE: [virtio-dev] Re: [PATCH v1 11/14] virtio-crypto: add control queue handler

2016-09-07 Thread Gonglei (Arei)
> -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Thursday, September 08, 2016 12:30 PM > To: Gonglei (Arei) > Subject: [virtio-dev] Re: [PATCH v1 11/14] virtio-crypto:

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-05 Thread Gonglei (Arei)
> > > On 09/03/2016 05:18 AM, Gonglei (Arei) wrote: > > Hi, > > > >> -Original Message- > >> From: Alexander Graf [mailto:ag...@suse.de] > >> Sent: Friday, September 02, 2016 10:05 PM > >> Subject: Re: [PATCH v8 1/2

[virtio-dev] RE: Can we increase vring size over 1024?

2016-09-02 Thread Gonglei (Arei)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Saturday, September 03, 2016 1:33 AM > To: Gonglei (Arei) > Cc: stefa...@redhat.com; jasow...@redhat.com; k...@vger.kernel.org; > virtio-dev@lists.oasis-open.org; qemu-de...@nongnu.o

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-02 Thread Gonglei (Arei)
Hi Stefan, > -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Friday, September 02, 2016 8:07 PM > Subject: Re: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device > specification > > On Tue, Aug 30, 2016 at 08:12:15PM +0800, Gonglei wrote: > > Hi, >

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-02 Thread Gonglei (Arei)
> > > > > On 02/09/2016, 12:26, "Gonglei (Arei)" <arei.gong...@huawei.com> wrote: > > > >> > >>> -Original Message- > >>> From: Alexander Graf [mailto:ag...@suse.de] > >>> Sent: Friday, Septembe

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-02 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Ma, Liang J [mailto:liang.j...@intel.com] > Sent: Friday, September 02, 2016 9:47 PM > Subject: RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device > specification > > Hi Lei, > For wireless algorithm > +#define

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-02 Thread Gonglei (Arei)
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, September 02, 2016 9:53 PM > Euler) > Subject: Re: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device > specification > > > > On 02.09.16 12:26, Gonglei (Arei)

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-02 Thread Gonglei (Arei)
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, September 02, 2016 4:07 PM > Subject: Re: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device > specification > > > > On 02.09.16 05:08, Gonglei (Arei) wrote: > > Hi

[virtio-dev] Can we increase vring size over 1024?

2016-09-02 Thread Gonglei (Arei)
Hi Michael & all, Michael, you made a presentation about the virto 1.1's new features in KVM Forum last week. That's wonderful! And I'd like to know can we increase vring size over 1024, such as 4096 or 8192? My colleage had asked the same question in 2014, but she didn't get a definite

[virtio-dev] RE: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-01 Thread Gonglei (Arei)
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, September 01, 2016 9:37 PM > Subject: Re: [PATCH v8 1/2] virtio-crypto: Add virtio crypto device > specification > > On 08/30/2016 02:12 PM, Gonglei wrote: > > The virtio crypto device is a

[virtio-dev] RE: [PATCH v6 1/2] virtio-crypto: Add virtio crypto device specification

2016-08-09 Thread Gonglei (Arei)
6 9:42 PM > To: Michael S. Tsirkin > Cc: Gonglei (Arei); qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; > Huangpeng (Peter); Luonengjun; cornelia.h...@de.ibm.com; > stefa...@redhat.com; denglin...@chinamobile.com; Jani Kokkonen; > ola.liljed...@arm.com; varun.se...@freescale.c

[virtio-dev] RE: [PATCH v6 1/2] virtio-crypto: Add virtio crypto device specification

2016-08-04 Thread Gonglei (Arei)
Hi Xin, Thanks for your feedback! Please see my embedded reply. Regards, -Gonglei > -Original Message- > From: Zeng, Xin [mailto:xin.z...@intel.com] > Sent: Thursday, August 04, 2016 3:48 PM > To: Gonglei (Arei); qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org >

[virtio-dev] RE: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-31 Thread Gonglei (Arei)
Hi, Xin > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Zeng, Xin > Sent: Sunday, July 31, 2016 9:27 PM > To: Gonglei (Arei); Michael S. Tsirkin > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; Ola Liljedahl; &

RE: [virtio-dev] Re: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-29 Thread Gonglei (Arei)
> -Original Message- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open.org] > On Behalf Of Michael S. Tsirkin > Sent: Friday, July 29, 2016 1:34 PM > To: Zeng, Xin > Cc: Gonglei (Arei); qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.or

[virtio-dev] RE: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-29 Thread Gonglei (Arei)
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > Sent: Friday, July 29, 2016 9:49 PM > To: Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; Ola Liljedahl; > Keating Brian; Michael S . Tsirkin; Zeng Xin; Hanweidong (

[virtio-dev] RE: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-28 Thread Gonglei (Arei)
Hi Xin, Thanks for your comments firstly... Regards, -Gonglei > -Original Message- > From: Zeng, Xin [mailto:xin.z...@intel.com] > Sent: Thursday, July 28, 2016 1:29 PM > To: Gonglei (Arei); Michael S. Tsirkin > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org

[virtio-dev] RE: [Qemu-devel] [PATCH v5] virtio-crypto: Add virtio crypto device specification

2016-07-27 Thread Gonglei (Arei)
Hi Michael, Thanks for your rapid feedback ! > -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Thursday, July 28, 2016 6:37 AM > To: Gonglei (Arei) > Cc: qemu-de...@nongnu.org; virtio-dev@lists.oasis-open.org; Ola Liljedahl; > Keati

[virtio-dev] RE: [RFC v4] virtio-crypto specification

2016-07-25 Thread Gonglei (Arei)
> -Original Message- > From: Zeng, Xin [mailto:xin.z...@intel.com] > Sent: Monday, July 25, 2016 2:20 PM > To: Gonglei (Arei); virtio-dev@lists.oasis-open.org; qemu-de...@nongnu.org > Cc: Hanweidong (Randy); Stefan Hajnoczi; Cornelia Huck; m...@redhat.com; > Lingli D

[virtio-dev] RE: [RFC v4] virtio-crypto specification

2016-07-21 Thread Gonglei (Arei)
> -Original Message- > From: Zeng, Xin [mailto:xin.z...@intel.com] > Sent: Friday, July 22, 2016 8:48 AM > To: Gonglei (Arei); virtio-dev@lists.oasis-open.org; qemu-de...@nongnu.org > Cc: Hanweidong (Randy); Stefan Hajnoczi; Cornelia Huck; m...@redhat.com; > Lingli D

[virtio-dev] [RFC v4] virtio-crypto specification

2016-06-26 Thread Gonglei (Arei)
Hi all, This is the specification (version 4) about a new virtio crypto device. Changes from v3: - Don't use enum is the spec but macros in specific structures. [Michael & Stefan] - Add two complete structures for session creation and closing, so that the spec is clear on how to lay out

[virtio-dev] [RFC v2] virtio-crypto specification

2016-04-05 Thread Gonglei (Arei)
Dear all, I'm so sorry for the late version 2 and appreciate the good comments came from Cornelia and Michael. Changes from v1: - Drop the feature bit definaion for each algorithm, and using config space instead [Cornelia] - Add multiqueue support and add corresponding feature bit - Update