Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci msk(4): moderate no interrupts globally
details: https://anonhg.NetBSD.org/src/rev/85ce67e15863
branches: trunk
changeset: 932585:85ce67e15863
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon May 11 18:49:04 2020 +0000
description:
msk(4): moderate no interrupts globally
The global interrupt moderator on mskc(4) is mostly redundant with the Status Unit's tx and rx interrupt coalescing for our purpouses
Revisits interrupt moderation change in 1.108.
diffstat:
sys/dev/pci/if_msk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0818055ce1ee -r 85ce67e15863 sys/dev/pci/if_msk.c
--- a/sys/dev/pci/if_msk.c Mon May 11 18:38:26 2020 +0000
+++ b/sys/dev/pci/if_msk.c Mon May 11 18:49:04 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_msk.c,v 1.110 2020/05/08 14:56:49 jakllsch Exp $ */
+/* $NetBSD: if_msk.c,v 1.111 2020/05/11 18:49:04 jakllsch Exp $ */
/* $OpenBSD: if_msk.c,v 1.79 2009/10/15 17:54:56 deraadt Exp $ */
/*
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.110 2020/05/08 14:56:49 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_msk.c,v 1.111 2020/05/11 18:49:04 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -860,7 +860,7 @@
aprint_verbose_dev(sc->sk_dev,
"interrupt moderation is %d us\n", sc->sk_int_mod);
sk_win_write_4(sc, SK_IMTIMERINIT, SK_IM_USECS(sc->sk_int_mod));
- sk_win_write_4(sc, SK_IMMR, SK_Y2_IMR_BMU);
+ sk_win_write_4(sc, SK_IMMR, 0); /* moderate no interrupts */
sk_win_write_1(sc, SK_IMTIMERCTL, SK_IMCTL_START);
sc->sk_int_mod_pending = 0;
}
Home |
Main Index |
Thread Index |
Old Index