Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-29 Thread Stuart Henderson
On 2021-09-29, Andrew Lemin wrote: > And to answer my last question about SMP capabilities, it looks like the > only locking going on is when the driver is talking to the Kernel itself > through kstat which would make sense. So yes it looks like mcx does have > SMP support :) $ cd /sys/dev/pci;

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-29 Thread Andrew Lemin
And to answer my last question about SMP capabilities, it looks like the only locking going on is when the driver is talking to the Kernel itself through kstat which would make sense. So yes it looks like mcx does have SMP support :) Well its enough for me to buy a card from ebay to play with as

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-29 Thread Andrew Lemin
So I think I have figured out some things Theo browsing through https://github.com/openbsd/src/blob/master/sys/dev/pci/if_mcx.c. I can see that some offloading is supported, but have not yet figured out how much is implemented yet. It looks like the offloading capability in these cards are much

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-28 Thread Andrew Lemin
Hi Theo :) Ok sure, I will put on my cape-of-courage and start reading the source.. I may be some time! On Wed, Sep 29, 2021 at 1:56 PM Theo de Raadt wrote: > We tend to keep our driver manual pages without detailed promises. > They do ethernet, they do it best effort, etc. > > What you want

Re: Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-28 Thread Theo de Raadt
We tend to keep our driver manual pages without detailed promises. They do ethernet, they do it best effort, etc. What you want to know can be found by reading the source, or the commit logs. Since this is a locally written driver, the code is surprisingly approachable. Andrew Lemin wrote: >

Mellanox driver support details https://man.openbsd.org/mcx.4

2021-09-28 Thread Andrew Lemin
Hi. I hope everyone is well and having a great day :) Just a quick question about the mcx (Mellanox 5th generation Ethernet device) drivers https://man.openbsd.org/mcx.4 The man page says nothing more than it supports; ConnectX-4 Lx EN ConnectX-4 EN ConnectX-5 EN ConnectX-6 EN I am looking for