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