Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci allow disabling interrupt mitigation



details:   https://anonhg.NetBSD.org/src/rev/aca441bc71ad
branches:  trunk
changeset: 770808:aca441bc71ad
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Nov 02 16:26:30 2011 +0000

description:
allow disabling interrupt mitigation

diffstat:

 sys/dev/pci/if_bge.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a1b79949e8e9 -r aca441bc71ad sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Wed Nov 02 16:03:01 2011 +0000
+++ b/sys/dev/pci/if_bge.c      Wed Nov 02 16:26:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.198 2011/06/09 12:04:29 cegger Exp $      */
+/*     $NetBSD: if_bge.c,v 1.199 2011/11/02 16:26:30 yamt Exp $        */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.198 2011/06/09 12:04:29 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.199 2011/11/02 16:26:30 yamt Exp $");
 
 #include "vlan.h"
 #include "rnd.h"
@@ -169,6 +169,7 @@
        int rx_ticks;
        int rx_max_bds; }
 bge_rx_threshes[] = {
+       { 16,   1 },    /* rx_max_bds = 1 disables interrupt mitigation */
        { 32,   2 },
        { 50,   4 },
        { 100,  8 },



Home | Main Index | Thread Index | Old Index