summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-01-27 09:17:52 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-01-27 09:17:52 +0000
commit3a88b0b36d678797ab770bbfcdadaed66cddf81f (patch)
tree468df1061e828b2f91bcd07036116ee6e0f61293 /sys/net
parentd04fc03bc9900852eb4b3e5bbc797baecab62f9b (diff)
make drivers tell the mclgeti allocator what their maximum ring size is
to prevent the hwm growing beyond that. this allows the livelock mitigation to do something where the hwm used to grow beyond twice the rx rings size. ok kettenis@ claudio@
Diffstat (limited to 'sys/net')
-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 ab6df1ab27f..18e3fd153c8 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.102 2008/12/12 22:07:33 claudio Exp $ */
+/* $OpenBSD: if.h,v 1.103 2009/01/27 09:17:51 dlg Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -109,7 +109,7 @@ struct if_clonereq {
struct mclpool {
u_short mcl_alive;
u_short mcl_hwm;
- u_short mcl_size;
+ u_short mcl_cwm;
u_short mcl_lwm;
};