|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V2] Update pvSCSI protocol description
On 08/25/2014 02:33 PM, Jan Beulich wrote: On 25.08.14 at 14:13, <"jgross@xxxxxxxx".non-mime.internet> wrote:+ * feature-sg-grant + * Values: <uint16_t>Hmm, you said "Yes, that's better" on my suggestion on how to change this, but it's still saying uint16_t here? Hmm, "stg refresh" after changing the file seems to be a good idea.
Oh, you are right. In my scsiback re-implementation the timeout isn't necessary any more, as the default timeouts are handled in the core target infrastructure. I'll add an appropriate comment. + uint16_t channel, id, lun; /* (virtual) device specification */ + uint16_t ref_rqid; /* command abort reference */This field rename should also be mentioned in the description; I think renaming the original padding field is fine, but this shouldn't be done sliently. Okay. + uint8_t sc_data_direction; /* for DMA_TO_DEVICE(1) + DMA_FROM_DEVICE(2) + DMA_NONE(3) requests */ + uint8_t nr_segments; /* Number of pieces of scatter-gather */ +#define VSCSIIF_SG_GRANT 0x80 /* flag: SG elements via grant page */ + /* nr_segments counts grant pages with + SG elements. + usable if "feature-sg-grant" set */Is that really accurate? If said value is to go into nr_segments, all such requests would have to have exactly 128 "grant pages with SG elements". Have you read the comment just above the #define of VSCSIIF_ACT_SCSI_CDB describing the interface?
Okay. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |