From 437edf1a5a832783d18254a301603d256c527d69 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Mon, 14 Jul 2014 03:45:44 +0000 Subject: now that receive ring accounting has been pulled out of the mbuf layer, we can pull the space the mbuf layer used to do per interface accounting out of struct if_data. saves a hundredish bytes on every interface. ok deraadt@ claudio@ --- sys/net/if.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sys/net/if.h') diff --git a/sys/net/if.h b/sys/net/if.h index 838dbc7b854..9261b231d36 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if.h,v 1.156 2014/07/11 16:39:06 henning Exp $ */ +/* $OpenBSD: if.h,v 1.157 2014/07/14 03:45:43 dlg Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -70,15 +70,6 @@ struct if_clonereq { #define MCLPOOLS 7 /* number of cluster pools */ -struct mclpool { - int mcl_grown; - u_int mcl_livelocks; - u_short mcl_alive; - u_short mcl_hwm; - u_short mcl_cwm; - u_short mcl_lwm; -}; - struct if_rxring { int rxr_adjusted; u_int rxr_alive; @@ -127,8 +118,6 @@ struct if_data { u_int64_t ifi_noproto; /* destined for unsupported protocol */ u_int32_t ifi_capabilities; /* interface capabilities */ struct timeval ifi_lastchange; /* last operational state change */ - - struct mclpool ifi_mclpool[MCLPOOLS]; }; #define IFQ_NQUEUES 8 -- cgit v1.2.3