From: kettenis Date: Thu, 4 Jan 2024 20:50:43 +0000 (+0000) Subject: Adjust IPLs to give us more interrupt vectors for IPL_NET. That is where X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e7fbb990912b8db28fec40120d2ae4ed9b59b6a2;p=openbsd 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@ --- 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 */