Module Name: src Committed By: yamaguchi Date: Fri Mar 31 07:31:48 UTC 2023
Modified Files: src/sys/dev/pci: virtio.c virtiovar.h Log Message: Use descriptor chain for free slots instead of vq_entry list Descriptors can be chained by themself. And descriptors added to avail ring or used ring are already chained. But it was not used for unused descriptors and another linked list structure named vq_entry was used. The chain is also used for unused descriptors to make virtio(4) simpler. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/virtio.c cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/virtiovar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.