From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: "Gonglei (Arei)" <arei.gonglei@huawei.com>,
Stefan Hajnoczi <stefanha@gmail.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>,
"Zhoujian (jay)" <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>,
"agraf@suse.de" <agraf@suse.de>,
"nmorey@kalray.eu" <nmorey@kalray.eu>,
longpeng <longpeng2@huawei.com>,
"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>,
"liang.j.ma@intel.com" <liang.j.ma@intel.com>,
"cornelia.huck@de.ibm.com" <cornelia.huck@de.ibm.com>,
Jani Kokkonen <Jani.Kokkonen@huawei.com>,
"pasic@linux.vnet.ibm.com" <pasic@linux.vnet.ibm.com>,
"brian.a.keating@intel.com" <brian.a.keating@intel.com>,
"claudio.fontana@huawei.com" <claudio.fontana@huawei.com>,
"mike.caraman@nxp.com" <mike.caraman@nxp.com>,
"Wubin (H)" <wu.wubin@huawei.com>
Subject: Re: [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add virtio crypto device specification
Date: Mon, 6 Feb 2017 20:19:39 +0200 [thread overview]
Message-ID: <20170206201814-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20170206154625.GB32590@stefanha-x1.localdomain>
On Mon, Feb 06, 2017 at 03:46:25PM +0000, Stefan Hajnoczi wrote:
> On Mon, Feb 06, 2017 at 01:48:09AM +0000, Gonglei (Arei) wrote:
> > > > +\item The device MUST set \field{max_size} to show the maximum size of
> > > crypto request the device supports.
> > >
> > > In bytes?
> > >
> > > > +\item The device MUST set \field{max_cipher_key_len} to show the
> > > maximum length of cipher key if the device supports CIPHER service.
> > >
> > > In bits or bytes?
> > >
> > > > +\item The device MUST set \field{max_auth_key_len} to show the maximum
> > > length of authenticated key if the device supports MAC service.
> > >
> > > In bits or bytes?
> > >
> >
> > All lengths in virtio crypto spec are bytes.
>
> Please move this before the first length field is defined:
>
> +\begin{note}
> +The basic unit of all data length the byte.
> +\end{note}
And I'd rewrite as
All data length fields specify the length in bytes.
>
> It should be at the beginning of the spec.
next prev parent reply other threads:[~2017-02-06 18:19 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-18 8:22 [Qemu-devel] [PATCH v16 0/2] virtio-crypto: virtio crypto device specification Gonglei
2017-01-18 8:22 ` [Qemu-devel] [PATCH v16 1/2] virtio-crypto: Add " Gonglei
2017-02-03 10:33 ` Stefan Hajnoczi
2017-02-03 15:37 ` Michael S. Tsirkin
2017-02-03 18:07 ` Halil Pasic
2017-02-13 13:41 ` Stefan Hajnoczi
2017-02-15 12:28 ` Halil Pasic
2017-02-06 1:48 ` Gonglei (Arei)
2017-02-06 15:46 ` Stefan Hajnoczi
2017-02-06 18:19 ` Michael S. Tsirkin [this message]
2017-02-07 0:59 ` Gonglei (Arei)
2017-02-08 14:27 ` Halil Pasic
2017-02-09 1:40 ` Gonglei (Arei)
2017-02-07 11:55 ` Halil Pasic
2017-02-07 11:39 ` [Qemu-devel] [virtio-dev] " Halil Pasic
2017-02-07 13:07 ` Cornelia Huck
2017-02-08 3:46 ` Gonglei (Arei)
2017-02-08 14:24 ` Halil Pasic
2017-02-09 2:29 ` Gonglei (Arei)
2017-02-15 12:01 ` Halil Pasic
2017-02-16 1:14 ` [Qemu-devel] [virtio-dev] " Gonglei (Arei)
2017-02-09 12:48 ` [Qemu-devel] " Cornelia Huck
2017-02-08 6:24 ` Gonglei (Arei)
2017-02-08 13:27 ` Halil Pasic
2017-02-09 3:08 ` [Qemu-devel] [virtio-dev] " Gonglei (Arei)
2017-01-18 8:22 ` [Qemu-devel] [PATCH v16 2/2] virtio-crypto: Add conformance clauses Gonglei
2017-02-03 10:33 ` Stefan Hajnoczi
2017-02-06 1:49 ` Gonglei (Arei)
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=20170206201814-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=Jani.Kokkonen@huawei.com \
--cc=Ola.Liljedahl@arm.com \
--cc=Varun.Sethi@freescale.com \
--cc=agraf@suse.de \
--cc=arei.gonglei@hotmail.com \
--cc=arei.gonglei@huawei.com \
--cc=brian.a.keating@intel.com \
--cc=claudio.fontana@huawei.com \
--cc=cornelia.huck@de.ibm.com \
--cc=denglingli@chinamobile.com \
--cc=jianjay.zhou@huawei.com \
--cc=john.griffin@intel.com \
--cc=liang.j.ma@intel.com \
--cc=longpeng2@huawei.com \
--cc=luonengjun@huawei.com \
--cc=mike.caraman@nxp.com \
--cc=nmorey@kalray.eu \
--cc=pasic@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--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.