User Details
- User Since
- May 10 2014, 3:30 AM (549 w, 1 d)
Jul 2 2024
Feb 25 2024
Jan 31 2024
Just a few minor comments. Note though that I only have time to do a brief review of this and haven't read the relevant section of the spec.
Just as a general comment - some of the device_printf() look potentially spammy and may be better as either guarded by bootverbose or debug macros.
Jan 23 2024
Sep 26 2023
I'm very hesitant to consider these - or other virtio methods from other pending reviews - as man "Section 9 - Kernel Interfaces". The header files are not installed and I really don't think should be, and would require clean up before being suitable. Typically these kind methods are not documented in man pages; I think the only existing analogous man(9) would be usbdi(9) and despite the numerous MLINKs only documents a handful of methods around data transfer, that I presume are most relevant for peripheral drivers, and goes into great detail of how those 5 methods are used and related with each other. I think these proposed man pages require a lot more fleshing out before providing the level of detail to code against the "interface".
Sep 15 2023
My intention has been to keep these header files closer aligned with the BSD licensed headers from Linux, which still uses the "vring" prefix. I don't think this change really clarifies much, especially when there are numerous other naming differences between the spec and those upstream header files.
Jul 27 2023
On a very, very quick first glance I've got concerns that this is incomplete, or could break alignment in other cases (but I have been away from this code for awhile). Depending on the features negotiated - V1, legacy with or without mergeable buffers - the header size can vary, along with what we enqueue for the Rx header desc. What features are negotiated on your QEMU testbed? We might be able to get a similar outcome by adjusting VTNET_RX_HEADER_PAD.
May 26 2023
Thanks so much for this work! 1-2 years back I think there was an effort to port the full Linux DRM virito_gpu driver over, but I believe that work has stalled. This is great to have.
Jan 11 2023
Oct 10 2022
Oct 5 2022
Oct 4 2022
Oct 3 2022
Aug 17 2022
Aug 12 2022
Address comment
Aug 4 2022
Nov 15 2021
Nov 4 2021
Left a few comments. It has been a long while since I've dealt with vxlan - and FreeBSD network stack in general - so somebody more familiar should give a correctness review.
Oct 8 2021
Aug 9 2021
LGTM
Aug 6 2021
May 4 2021
Apr 6 2021
Mar 28 2021
Mar 21 2021
Mar 8 2021
Feb 23 2021
Feb 1 2021
I'll try to get this ported and committed to the legacy PCI driver before 13.0
Jan 21 2021
I'd like to keep the current distinction - virito_pci and virtio_mmio - so it is clear as to what is being attached. After https://reviews.freebsd.org/D28073 there is much less boilerplate, and not likely another transport is forthcoming.
Jan 20 2021
Committed in dc9029d863dcc48efebb6a31a25553a7459132aa
Folded into https://reviews.freebsd.org/D27915
Folded into https://reviews.freebsd.org/D27919