Wednesday, September 29, 2021

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

On 2021-09-29, Andrew Lemin <andrew.lemin@gmail.com> 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; grep pci_intr_establish_cpu *
if_bnxt.c: bq->q_ihc = pci_intr_establish_cpu(sc->sc_pc, ih,
if_ix.c: que->tag = pci_intr_establish_cpu(pa->pa_pc, ih,
if_ixl.c: iv->iv_ihc = pci_intr_establish_cpu(sc->sc_pc, ih,
if_mcx.c: q->q_ihc = pci_intr_establish_cpu(sc->sc_pc, ih,
if_vmx.c: q->ih = pci_intr_establish_cpu(pa->pa_pc, ih,

> Well its enough for me to buy a card from ebay to play with
> as the ConnectX-4 Lx cards are pretty cheap now.

new (from fs) aren't much more expensive either btw.

>> I was able to decipher some of it using this
>> https://www.mellanox.com/related-docs/user_manuals/Ethernet_Adapters_Programming_Manual.pdf
>> (this is very well written).

nvidia bought the company so that might be the high point in the documentation
for these..

No comments:

Post a Comment