Adjust IPLs to give us more interrupt vectors for IPL_NET. That is where
authorkettenis <kettenis@openbsd.org>
Thu, 4 Jan 2024 20:50:43 +0000 (20:50 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 4 Jan 2024 20:50:43 +0000 (20:50 +0000)
we need them most since multi-queue NICs seem to be a thing now.

ok patrick@, mlarkin@, jan@

sys/arch/amd64/include/intrdefs.h

index 88199f8..9b6de3c 100644 (file)
@@ -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
  *
  */
 #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 */