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: [virtio-dev] Question on Indirect descriptors


Hi,

I have serval questions on "Indirect Descriptors" in the virtio spec:
1) Does len/16 is less than or equal to the Queue Size of the device?
    struct indirect_descriptor_table {
        /* The actual descriptors (16 bytes each) */
        struct virtq_desc desc[len / 16];
    };

2) The virtio spec said "A driver MUST NOT create a descriptor chain longer
    than the Queue Size of the device". If an IO request set N normal chained
    descriptors followed by a single descriptor with flag&VIRTQ_DESC_F_INDIRECT,
    which has M chained descriptors in the indirect descriptor table. Does it has the
    limitation that N+M must less than or equal to the Queue Size of the device?

Thanks,
YAN


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