Rusty Russell wrote:
        2) We either need huge descriptors or some chaining mechanism to
        handle scatter-gather.

Or, my preference, have a small sglist in the descriptor; if the buffer doesn't fit in the sglist follow a pointer and size (stored in the same place as the immediate sglist) to an external sglist.

The advantage of this is that it doesn't complicate descriptor allocation and accounting (if you have large sglists, suddenly you have fewer than expected effective descriptors).



--
error compiling committee.c: too many arguments to function

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to