Module Name: src Committed By: msaitoh Date: Wed Jun 1 04:15:41 UTC 2022
Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Correctly re-enable queue interrupt in ixgbe_legacy_irq(). - Don't enable queue 1-15 interrupt. - Don't enable queue 0 interrupt when the queue work is being scheduled. - OK'd by knakahara. To generate a diff of this commit: cvs rdiff -u -r1.316 -r1.317 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/ixgbe/ixgbe.c diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.316 src/sys/dev/pci/ixgbe/ixgbe.c:1.317 --- src/sys/dev/pci/ixgbe/ixgbe.c:1.316 Wed Jun 1 02:07:24 2022 +++ src/sys/dev/pci/ixgbe/ixgbe.c Wed Jun 1 04:15:41 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: ixgbe.c,v 1.316 2022/06/01 02:07:24 msaitoh Exp $ */ +/* $NetBSD: ixgbe.c,v 1.317 2022/06/01 04:15:41 msaitoh Exp $ */ /****************************************************************************** @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.316 2022/06/01 02:07:24 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.317 2022/06/01 04:15:41 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -5320,7 +5320,7 @@ ixgbe_legacy_irq(void *arg) eims_disable |= 1UL << 0; } else - eims_enable |= IXGBE_EIMC_RTX_QUEUE; + eims_enable |= eims_orig & IXGBE_EIMC_RTX_QUEUE; ixgbe_intr_admin_common(adapter, eicr, &eims_disable);