Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Modify comment to clarify EIAC setting.



details:   https://anonhg.NetBSD.org/src/rev/4b327ad242ee
branches:  trunk
changeset: 363407:4b327ad242ee
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Mar 10 03:57:33 2022 +0000

description:
Modify comment to clarify EIAC setting.

diffstat:

 sys/dev/pci/ixgbe/ixgbe.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r ab31d0b2ee98 -r 4b327ad242ee sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu Mar 10 03:53:46 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Thu Mar 10 03:57:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.308 2022/03/10 03:53:46 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.309 2022/03/10 03:57:33 msaitoh Exp $ */
 
 /******************************************************************************
 
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.308 2022/03/10 03:53:46 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.309 2022/03/10 03:57:33 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -5194,8 +5194,9 @@
        /* With MSI-X we use auto clear */
        if (adapter->msix_mem) {
                /*
-                * It's not required to set TCP_TIMER because we don't use
-                * it.
+                * We use auto clear for RTX_QUEUE only. Don't use other
+                * interrupts (e.g. link interrupt). BTW, we don't use
+                *  TCP_TIMER interrupt itself.
                 */
                IXGBE_WRITE_REG(hw, IXGBE_EIAC, IXGBE_EIMS_RTX_QUEUE);
        }



Home | Main Index | Thread Index | Old Index