[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-source-changes
Subject:    CVS commit: src/sys/dev/pci
From:       "Shoichi YAMAGUCHI" <yamaguchi () netbsd ! org>
Date:       2023-03-31 7:31:48
Message-ID: 20230331073148.5C9B5FA81 () cvs ! NetBSD ! org
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic