summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-06-25 16:37:59 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-06-25 16:37:59 +0000
commitda5171236483a8a9a0f3091475504b571e7392f0 (patch)
tree2cbc5cde90e6ba52c0eff8b4e40ca74a44f27940
parente7c3506cee8a814c72447ab006da9efc27c9b9f1 (diff)
crank ifq_maxlen from 50 to 256, so it is not smaller than most interfaces
rx rings any more. forwarding boxes with many fast interfaces can still use some more, but this is a saner default. ok deraadt markus henric
-rw-r--r--sys/net/if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 13b976aed93..4b6011ca8ac 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.90 2007/06/14 18:31:49 reyk Exp $ */
+/* $OpenBSD: if.h,v 1.91 2007/06/25 16:37:58 henning Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -346,7 +346,7 @@ do { \
} while (0)
#define IF_IS_EMPTY(ifq) ((ifq)->ifq_len == 0)
-#define IFQ_MAXLEN 50
+#define IFQ_MAXLEN 256
#define IFNET_SLOWHZ 1 /* granularity is 1 second */
/* symbolic names for terminal (per-protocol) CTL_IFQ_ nodes */