OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [virtio-dev] [PATCH v2] Add virtio rpmb device specification


> >  */
> > struct rpmb_frame_jdec {
> >         __u8   stuff[196];
> >         __u8   key_mac[32];
> >         __u8   data[256];
> >         __u8   nonce[16];
> >         __be32 write_counter;
> >         __be16 addr;
> >         __be16 block_count;
> >         __be16 result;
> >         __be16 req_resp;
> > }
> 
> Ok, this seems to properly define the structure including endianness.
> You should explicitly refer to it by name, then it should be fine (when the
> document you refer to is added as a normative reference).
> 
> >
> > A user should fill the rpmb frame per his request and send it to virtio rpmb
> driver.
> > The driver then format it to virtqueue and send it to device.
> 
> Is there any formatting on top of the frame?

No such requirement for driver. Just sending to device via virtqueue. 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]