From da5171236483a8a9a0f3091475504b571e7392f0 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Mon, 25 Jun 2007 16:37:59 +0000 Subject: 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 --- sys/net/if.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if.h') 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 */ -- cgit v1.2.3