Bit of confusion around SR-IOV acceleration

So playing around with my 3 node setup I am a bit confused as to how the SR-IOV acceleration works with Incus… I have a CX6 Nic , and I have an ovn network setup (like very very basic setup following the cluster ovn guide here link) and I have been playing with Virtual Functions but switchdev is really twisting my brain since I can’t setup static IP’s on it.

Now, I understand that I have to use switchdev in order to get more of the HW accelerations that I would be interested in playing with… but how does incus handle this…

I took a look at this guide from the docs (LINK) and I followed it pretty easy.

Assuming that my CX6-DX card has 2 ports (eth1 and eth2), I just need to create 8 virtual functions on eth2 (as an example) and then unbind the virtual functions, put my Nic in switchdev mode, set offload settings, rebind my virtual functions and then enable ASAP^2 on the open-Vswitch and then restart the open-vswitch service.

If I add eth2 to the default OVN bridge (br-int) which is the only bridge I have, then do I setup Incus with br-int as the UPLINK or do I use eth2 or do I use the virtual funcitons?

How does Incus use the number of virtual functions I create ? does it use one per network? can I get isolation for each virtual function ?

I assume I have to provide an ovn ipv4 range when I make the network, what do I put for that ?

Any clarity on this would be GREATLY appreciated!

@stgraber any input on this ? I know you most likely wrote the docs on this , and im sorry to bother.