Re: openbsd vm with SR-IOV vf nic

2024-03-20 Thread Paul B. Henson

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…



Re: openbsd vm with SR-IOV vf nic

2024-03-20 Thread Jonathan Matthew
On Tue, Mar 19, 2024 at 09:54:40PM -0700, Paul B. Henson wrote:
> Is it very common for people to be running openbsd boxes under
> virtualization and using an SR-IOV vf nic? I'm curious what cards people
> are using.
> 
> It looks like the only available driver is iavf, for the Intel 700
> cards? Are there any other drivers I missed?

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.

bnxt(4) could support virtual functions pretty easily, since they're
largely the same as physical functions, but some work would be required
there.

> 
> We have some systems with Intel X550 cards in them, based on the 82599
> chipset, which openbsd doesn't currently support. Yuichiro NAITO ported
> a driver from netbsd:
> 
>   https://marc.info/?l=openbsd-tech=168722323125036=2
> 
> We tested it under 7.3, and then an updated version for 7.4, and it's
> been working great. At one point yasuoka@ had said he would review and
> merge it, but it looks like that hasn't happened yet and I haven't heard
> back the last couple of times I tried to ask him about it (I assume he's
> busy with other things and don't want to bug him any more).
> 
> So I was just wondering if there are any other available drivers I might
> have missed for other cards we might have, if anybody else was
> interested in X550/82599 vf support, and if maybe any other dev might be
> willing to take a look at it and possibly commit it.
> 
> Thanks much...
> 



openbsd vm with SR-IOV vf nic

2024-03-19 Thread Paul B. Henson
Is it very common for people to be running openbsd boxes under
virtualization and using an SR-IOV vf nic? I'm curious what cards people
are using.

It looks like the only available driver is iavf, for the Intel 700
cards? Are there any other drivers I missed?

We have some systems with Intel X550 cards in them, based on the 82599
chipset, which openbsd doesn't currently support. Yuichiro NAITO ported
a driver from netbsd:

https://marc.info/?l=openbsd-tech=168722323125036=2

We tested it under 7.3, and then an updated version for 7.4, and it's
been working great. At one point yasuoka@ had said he would review and
merge it, but it looks like that hasn't happened yet and I haven't heard
back the last couple of times I tried to ask him about it (I assume he's
busy with other things and don't want to bug him any more).

So I was just wondering if there are any other available drivers I might
have missed for other cards we might have, if anybody else was
interested in X550/82599 vf support, and if maybe any other dev might be
willing to take a look at it and possibly commit it.

Thanks much...