All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gonglei (Arei)" <arei.gonglei@huawei.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Halil Pasic <pasic@linux.vnet.ibm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"virtio-dev@lists.oasis-open.org"
	<virtio-dev@lists.oasis-open.org>,
	"Huangweidong (C)" <weidong.huang@huawei.com>,
	"john.griffin@intel.com" <john.griffin@intel.com>,
	Shiqing Fan <Shiqing.Fan@huawei.com>,
	"Zhoujian (jay, Euler)" <jianjay.zhou@huawei.com>,
	"Varun.Sethi@freescale.com" <Varun.Sethi@freescale.com>,
	"denglingli@chinamobile.com" <denglingli@chinamobile.com>,
	"arei.gonglei@hotmail.com" <arei.gonglei@hotmail.com>,
	"Hanweidong (Randy)" <hanweidong@huawei.com>,
	"agraf@suse.de" <agraf@suse.de>,
	"nmorey@kalray.eu" <nmorey@kalray.eu>,
	"vincent.jardin@6wind.com" <vincent.jardin@6wind.com>,
	"Ola.Liljedahl@arm.com" <Ola.Liljedahl@arm.com>,
	Luonengjun <luonengjun@huawei.com>,
	"xin.zeng@intel.com" <xin.zeng@intel.com>,
	"Huangpeng (Peter)" <peter.huangpeng@huawei.com>,
	"liang.j.ma@intel.com" <liang.j.ma@intel.com>,
	"stefanha@redhat.com" <stefanha@redhat.com>,
	"cornelia.huck@de.ibm.com" <cornelia.huck@de.ibm.com>,
	Jani Kokkonen <Jani.Kokkonen@huawei.com>,
	"brian.a.keating@intel.com" <brian.a.keating@intel.com>,
	Claudio Fontana <Claudio.Fontana@huawei.com>,
	"mike.caraman@nxp.com" <mike.caraman@nxp.com>,
	"Wubin (H)" <wu.wubin@huawei.com>
Subject: Re: [Qemu-devel] [virtio-dev] Re: [PATCH v13 1/2] virtio-crypto: Add virtio crypto device specification
Date: Thu, 10 Nov 2016 02:25:44 +0000	[thread overview]
Message-ID: <33183CC9F5247A488A2544077AF19020B0428688@SZXEMA503-MBS.china.huawei.com> (raw)
In-Reply-To: <20161109173948-mutt-send-email-mst@kernel.org>


>
> 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 represent
> each packet
> > Intuitionally, otherwise I don't know how to explain them only occupy one
> entry in desc table
> > by indirect table method.
> 
> whether to use the indirect method should not be up to device.
> I don't see where does the spec require indirect method,
> ANY_LAYOUT is implied so spec should not dictate that IMO.
> 
Yes, I reread the virtio spec. And

2.4.4 says: 
 " The framing of messages with descriptors is independent of the contents of the buffers."

2.4.4.2 says:
 "The driver SHOULD NOT use an excessive number of descriptors to describe a buffer."

For virtio-crypto, I think I can just add a NOTE to remind people using indirect method 
if they want to get better performance in production environment, can I? 


Thanks,
-Gonglei

> > So I changed the code completely as Stefan's suggestion and
> > revised the spec a little.
> >
> > This just is a representative of the realization so that the people can easily
> understand what
> > the virtio crypto request's components. It isn't completely same with the
> code.
> > For virtio-scsi device, the struct virtio_scsi_req_cmd also used this way IIUR.
> >
> > Thanks,
> > -Gonglei
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org

  reply	other threads:[~2016-11-10  2:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28  5:23 [Qemu-devel] [PATCH v13 0/2] virtio-crypto: virtio crypto device specification Gonglei
2016-10-28  5:23 ` [Qemu-devel] [PATCH v13 1/2] virtio-crypto: Add " Gonglei
2016-11-08 17:13   ` Halil Pasic
2016-11-09  1:11     ` Gonglei (Arei)
2016-11-09 15:24       ` Cornelia Huck
2016-11-10  2:32         ` Gonglei (Arei)
2016-11-10  9:37         ` Gonglei (Arei)
2016-11-10 13:15           ` Michael S. Tsirkin
2016-11-10 16:47             ` Halil Pasic
2016-11-10 17:04               ` Michael S. Tsirkin
2016-11-11  1:07                 ` [Qemu-devel] [virtio-dev] " Gonglei (Arei)
2016-11-11  1:29               ` [Qemu-devel] " Gonglei (Arei)
2016-11-11  1:02             ` [Qemu-devel] [virtio-dev] " Gonglei (Arei)
2016-11-09 15:43       ` [Qemu-devel] " Michael S. Tsirkin
2016-11-10  2:25         ` Gonglei (Arei) [this message]
2016-11-10 13:02           ` [Qemu-devel] [virtio-dev] " Michael S. Tsirkin
2016-11-11  0:55             ` Gonglei (Arei)
2016-10-28  5:23 ` [Qemu-devel] [PATCH v13 2/2] virtio-crypto: Add conformance clauses Gonglei

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=33183CC9F5247A488A2544077AF19020B0428688@SZXEMA503-MBS.china.huawei.com \
    --to=arei.gonglei@huawei.com \
    --cc=Claudio.Fontana@huawei.com \
    --cc=Jani.Kokkonen@huawei.com \
    --cc=Ola.Liljedahl@arm.com \
    --cc=Shiqing.Fan@huawei.com \
    --cc=Varun.Sethi@freescale.com \
    --cc=agraf@suse.de \
    --cc=arei.gonglei@hotmail.com \
    --cc=brian.a.keating@intel.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=denglingli@chinamobile.com \
    --cc=hanweidong@huawei.com \
    --cc=jianjay.zhou@huawei.com \
    --cc=john.griffin@intel.com \
    --cc=liang.j.ma@intel.com \
    --cc=luonengjun@huawei.com \
    --cc=mike.caraman@nxp.com \
    --cc=mst@redhat.com \
    --cc=nmorey@kalray.eu \
    --cc=pasic@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.