Re: [virtio-dev] packed ring layout proposal

2016-09-20 Thread Pierre Pfister (ppfister)
More inline, but first I want to propose something. One of the expensive operation in device workload is to map physical address found in the descriptor to the virtual address. The reason being that there are multiple memory regions. When there are only a few regions, optimal implementation use

Re: [virtio-dev] packed ring layout proposal

2016-09-20 Thread Pierre Pfister (ppfister)
Oops. Pressed 'send' by mistake on the previous mail. --- More inline, but first I want to propose something. One of the expensive operation in device workload is to map physical address found in the descriptor to the virtual address. The reason being that there are multiple memory regions

Re: [virtio-dev] packed ring layout proposal

2016-09-20 Thread Paolo Bonzini
On 20/09/2016 10:38, Pierre Pfister (ppfister) wrote: > More inline, but first I want to propose something. > > One of the expensive operation in device workload is to map physical address > found in the descriptor to > the virtual address. The reason being that there are multiple memory region

[virtio-dev] [PATCH v10 2/2] virtio-crypto: Add conformance clauses

2016-09-20 Thread Gonglei
Add the conformance targets and clauses for virtio-crypto device. Signed-off-by: Gonglei --- conformance.tex | 30 ++ 1 file changed, 30 insertions(+) diff --git a/conformance.tex b/conformance.tex index f59e360..615fe8c 100644 --- a/conformance.tex +++ b/conformance

[virtio-dev] [PATCH v10 0/2] virtio-crypto: virtio crypto device specification

2016-09-20 Thread Gonglei
This is the specification about a new virtio crypto device. You can get the source code from the below website: [PATCH v3 00/10] virtio-crypto: introduce framework and device emulation https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg04132.html Please help to review, thanks. CC: Michae

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

2016-09-20 Thread Gonglei
The virtio crypto device is a virtual crypto device (ie. hardware crypto accelerator card). The virtio crypto device can provide five crypto services: CIPHER, MAC, HASH, AEAD, KDF, ASYM, PRIMITIVE. In this patch, CIPHER, MAC, HASH, AEAD services are introduced. Signed-off-by: Gonglei CC: Michael

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

2016-09-20 Thread Xin Zeng
Fix spelling mistakes of keywords to make xelatex happy: filed--->field Signed-off-by: Xin Zeng --- virtio-crypto.tex | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/virtio-crypto.tex b/virtio-crypto.tex index ac1fc0a..c3554e3 100644 --- a/virtio-crypto.tex

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

2016-09-20 Thread Michael S. Tsirkin
On Tue, Sep 20, 2016 at 05:46:01PM +0800, Gonglei wrote: > The virtio crypto device is a virtual crypto device (ie. hardware > crypto accelerator card). The virtio crypto device can provide > five crypto services: CIPHER, MAC, HASH, AEAD, KDF, ASYM, PRIMITIVE. Only CIPHER, MAC, HASH, AEAD are docu

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 xela

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 > specif

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

2016-09-20 Thread Xin Zeng
This patch introduces asymmetric crypto service into virtio crypto device. The asymmetric crypto service can be referred as signature, verification, encryption, decryption, key generation and key exchange. This patch depends on another virtio crypto device spec patch: https://lists.gnu.org/archive/