Question about virtio_alloc_virtqueues
- Reply: Vincenzo Maffione : "Re: Question about virtio_alloc_virtqueues"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Sep 2023 15:06:17 UTC
Hi folks, for the past two or so weeks, I've been trying to document the virtio functions: You can see some of my progress here: https://codeberg.org/meena/freebsd-src/commits/branch/improve/virtio I'm currently trying to document virtio_alloc_virtqueues. The second argument, flags, is only ever called with 0, and never passed on to anything. So I thought I'd remove it. However, there *is* this comment in if_vtnet.c: /* * TODO: Enable interrupt binding if this is multiqueue. This will * only matter when per-virtqueue MSIX is available. */ if (sc->vtnet_flags & VTNET_FLAG_MQ) flags |= 0; after which flags are still set to 0. for now?? What does this mean? Kind regards, Mina Galić