diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-25 16:37:59 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-25 16:37:59 +0000 |
commit | da5171236483a8a9a0f3091475504b571e7392f0 (patch) | |
tree | 2cbc5cde90e6ba52c0eff8b4e40ca74a44f27940 /sys/net | |
parent | e7c3506cee8a814c72447ab006da9efc27c9b9f1 (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
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.h | 4 |
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 */ |