diff options
author | 2020-06-24 06:19:06 +0000 | |
---|---|---|
committer | 2020-06-24 06:19:06 +0000 | |
commit | 333f33598d850c36d07b7019be847c5487a4d780 (patch) | |
tree | c92deed8687064299739aef9f56ebf69cb438493 | |
parent | Add test-ffdhe-expected-params.py (diff) | |
download | wireguard-openbsd-333f33598d850c36d07b7019be847c5487a4d780.tar.xz wireguard-openbsd-333f33598d850c36d07b7019be847c5487a4d780.zip |
actually use pci_intr_establish_cpu with cpus from the intrmap.
sigh, i don't know how i forgot this.
yes jmatthew@
-rw-r--r-- | sys/dev/pci/if_vmx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c index 2eaef809975..1b89208ae38 100644 --- a/sys/dev/pci/if_vmx.c +++ b/sys/dev/pci/if_vmx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vmx.c,v 1.59 2020/06/17 07:08:39 dlg Exp $ */ +/* $OpenBSD: if_vmx.c,v 1.60 2020/06/24 06:19:06 dlg Exp $ */ /* * Copyright (c) 2013 Tsubai Masanari @@ -322,10 +322,9 @@ vmxnet3_attach(struct device *parent, struct device *self, void *aux) } snprintf(q->intrname, sizeof(q->intrname), "%s:%d", self->dv_xname, i); - /* this should be pci_intr_establish_cpu */ - q->ih = pci_intr_establish(pa->pa_pc, ih, + q->ih = pci_intr_establish_cpu(pa->pa_pc, ih, IPL_NET | IPL_MPSAFE, - /* intrmap_cpu(sc->sc_intrmap, i), */ + intrmap_cpu(sc->sc_intrmap, i), vmxnet3_intr_queue, q, q->intrname); q->intr = vec; |