On 3/20/2024 2:46 AM, Jonathan Matthew wrote:
mcx(4) supports virtual functions, mostly because they're identical to physical functions from the driver's perspective, so all we had to do was add the device IDs.
Ah, that wasn't readily apparent; I didn't see anything in the man page mentioning SR-IOV or virtual functions, nor in the source code when I went to take a peek now. I guess if you're familiar with Mellanox you'd be aware the vf was basically the same as the physical card and presumably supported by the same driver.
bnxt(4) could support virtual functions pretty easily, since they're largely the same as physical functions, but some work would be required there.
Cool, thanks for the pointers…