summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-01-04 20:50:44 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-01-04 20:50:44 +0000
commit247c901f73240dc841fab08c67981cac31e09ccf (patch)
tree0f8ada810d3c064acf4028b280948e5966739037
parent9f2b7793f68e4e83a6941a5788343143fb7f9922 (diff)
Adjust IPLs to give us more interrupt vectors for IPL_NET. That is where
we need them most since multi-queue NICs seem to be a thing now. ok patrick@, mlarkin@, jan@
-rw-r--r--sys/arch/amd64/include/intrdefs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/intrdefs.h b/sys/arch/amd64/include/intrdefs.h
index 88199f81dc4..9b6de3c3e4a 100644
--- a/sys/arch/amd64/include/intrdefs.h
+++ b/sys/arch/amd64/include/intrdefs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intrdefs.h,v 1.22 2021/08/31 17:40:59 dv Exp $ */
+/* $OpenBSD: intrdefs.h,v 1.23 2024/01/04 20:50:43 kettenis Exp $ */
/* $NetBSD: intrdefs.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
#ifndef _AMD64_INTRDEFS_H
@@ -19,10 +19,10 @@
*
*/
#define IPL_NONE 0x0 /* nothing */
-#define IPL_SOFTCLOCK 0x4 /* timeouts */
-#define IPL_SOFTNET 0x5 /* protocol stacks */
-#define IPL_BIO 0x6 /* block I/O */
-#define IPL_NET 0x7 /* network */
+#define IPL_SOFTCLOCK 0x1 /* timeouts */
+#define IPL_SOFTNET 0x2 /* protocol stacks */
+#define IPL_BIO 0x3 /* block I/O */
+#define IPL_NET 0x4 /* network */
#define IPL_SOFTTTY 0x8 /* delayed terminal handling */
#define IPL_TTY 0x9 /* terminal */
#define IPL_VM 0xa /* memory allocation */