Page MenuHomeFreeBSD
Feed Advanced Search

Feb 25 2024

bryanv added a comment to D43047: vtscmi: Add a virtio-scmi driver.

Thanks for the review @bryanv.
Regarding:

"A virtqueue_poll() variant with a timeout param could be useful in general."

I was thinking exactly the same while doing this, but being a first time contributor to freeBSD, I was not sure how easily acceptable would have been to post a change related to some core system (like virtio) inside this series,
so I went for a custom solution at first. I can certainly post subsequently a patch to add a virtqueue_poll timeout variant to the virtio-core and make use of it in here, once this is merged/landed.

Feb 25 2024, 6:56 PM

Jan 31 2024

bryanv committed rGe6b8c1d780b4: virtio: Add more device IDs from the specification (authored by bryanv).
virtio: Add more device IDs from the specification
Jan 31 2024, 5:12 AM
bryanv accepted D43047: vtscmi: Add a virtio-scmi driver.

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.

Jan 31 2024, 4:13 AM
bryanv accepted D43048: scmi: Add an SCMI VirtIO transport driver.

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 31 2024, 4:13 AM
bryanv accepted D43654: vtnet: Avoid ifdefs based on __NO_STRICT_ALIGNMENT.
Jan 31 2024, 3:39 AM

Jan 23 2024

bryanv accepted D43224: vtnet: Adjust for ethernet alignment..
Jan 23 2024, 4:52 AM

Sep 26 2023

bryanv added a comment to D41852: virtio: add man page for virtqueue(9) functions.

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 26 2023, 6:08 AM

Sep 15 2023

bryanv added a comment to D41849: virtio: add comment on the spec for vring struct.

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.

Sep 15 2023, 4:04 AM
bryanv accepted D41850: virtio: remove virtio_alloc_virtqueues' flags arg.
Sep 15 2023, 3:46 AM
bryanv accepted D41848: virtio: use bool for boolean functions.
Sep 15 2023, 3:45 AM

Jul 27 2023

bryanv added a comment to D41212: vtnet: Ensure that L3 protocol headers are aligned when necessary.

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.

Jul 27 2023, 4:46 PM

May 26 2023

bryanv accepted D40094: Add a virtio-gpu 2D driver.

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.

May 26 2023, 3:19 AM

Jan 11 2023

bryanv accepted D37799: Mechanically convert if_vtnet(4) to DrvAPI.
Jan 11 2023, 5:22 AM

Oct 10 2022

bryanv accepted D36667: vtblk: Use busdma.
Oct 10 2022, 6:33 PM

Oct 5 2022

bryanv added inline comments to D36855: if_vxlan(4): Correct the statistic for output bytes.
Oct 5 2022, 5:04 AM · network

Oct 4 2022

bryanv accepted D36841: if_vxlan(4): Add missing statistic for input packets.
Oct 4 2022, 7:44 PM · network

Oct 3 2022

bryanv accepted D36666: vtblk: Include pointer to softc in request.
Oct 3 2022, 3:32 AM
bryanv accepted D36667: vtblk: Use busdma.
Oct 3 2022, 3:31 AM
bryanv accepted D36665: vtblk: Requeue inside vtblk_request_execute.
Oct 3 2022, 3:19 AM
bryanv accepted D36664: vtblk: Make vtblk_request_execute return void..
Oct 3 2022, 2:15 AM

Aug 17 2022

bryanv committed rG926cedd9a071: virtio_mmio: Improve V1 spec conformance (authored by bryanv).
virtio_mmio: Improve V1 spec conformance
Aug 17 2022, 8:16 PM
bryanv closed D36150: virtio_mmio: Improve V1 spec conformance.
Aug 17 2022, 8:16 PM

Aug 12 2022

bryanv updated the diff for D36150: virtio_mmio: Improve V1 spec conformance.

Address comment

Aug 12 2022, 4:39 PM
bryanv added inline comments to D36150: virtio_mmio: Improve V1 spec conformance.
Aug 12 2022, 4:39 PM
bryanv requested review of D36150: virtio_mmio: Improve V1 spec conformance.
Aug 12 2022, 3:20 AM

Aug 4 2022

bryanv committed rGdc6f578a8f53: virtio_mmio: correct offset of VIRTIO_MMIO_CONFIG_GENERATION (authored by bryanv).
virtio_mmio: correct offset of VIRTIO_MMIO_CONFIG_GENERATION
Aug 4 2022, 4:04 AM

Nov 15 2021

bryanv accepted D32974: kvmclock: Expose implied TSC frequency via sysctl.
Nov 15 2021, 5:59 PM

Nov 4 2021

bryanv added a comment to D32820: vxlan: Add support for socket ioctls SIOC[SG]TUNFIB.

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.

Nov 4 2021, 3:33 PM · network

Oct 8 2021

bryanv accepted D32370: virtio: make the write_config buffer argument const.
Oct 8 2021, 6:49 PM

Aug 9 2021

bryanv added a comment to D31424: Only use byte register access in legacy virtio pci.

LGTM

Aug 9 2021, 2:57 PM

Aug 6 2021

bryanv accepted D31424: Only use byte register access in legacy virtio pci.
Aug 6 2021, 5:49 PM

May 4 2021

bryanv accepted D28947: [POWERPC] Switch endian of common dev information.
May 4 2021, 2:54 PM · PowerPC