From owner-cvs-src-old@FreeBSD.ORG Mon Sep 27 17:54:22 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89EE91065740 for ; Mon, 27 Sep 2010 17:54:22 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE898FC12 for ; Mon, 27 Sep 2010 17:54:22 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o8RHsMLF068481 for ; Mon, 27 Sep 2010 17:54:22 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o8RHsM7D068480 for cvs-src-old@freebsd.org; Mon, 27 Sep 2010 17:54:22 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <201009271754.o8RHsM7D068480@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Mon, 27 Sep 2010 17:54:04 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/e1000 if_em.c if_em.h if_igb.c if_igb.h if_lem.c if_lem.h src/sys/dev/ixgb if_ixgb.c if_ixgb.h src/sys/dev/ixgbe ixgbe.c ixgbe.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 17:54:22 -0000 yongari 2010-09-27 17:54:04 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/e1000 if_em.c if_em.h if_igb.c if_igb.h if_lem.c if_lem.h sys/dev/ixgb if_ixgb.c if_ixgb.h sys/dev/ixgbe ixgbe.c ixgbe.h Log: SVN rev 213218 on 2010-09-27 17:54:04Z by yongari MFC r211913: Do not allocate multicast array memory in multicast filter configuration function. For failed memory allocations, em(4)/lem(4) called panic(9) which is not acceptable on production box. igb(4)/ixgb(4)/ix(4) allocated the required memory in stack which consumed 768 bytes of stack memory which looks too big. To address these issues, allocate multicast array memory in device attach time and make multicast configuration success under any conditions. This change also removes the excessive use of memory in stack. Reviewed by: jfv Revision Changes Path 1.21.2.16 +14 -8 src/sys/dev/e1000/if_em.c 1.5.2.4 +2 -0 src/sys/dev/e1000/if_em.h 1.21.2.16 +16 -1 src/sys/dev/e1000/if_igb.c 1.4.2.5 +2 -0 src/sys/dev/e1000/if_igb.h 1.3.2.9 +14 -8 src/sys/dev/e1000/if_lem.c 1.2.2.4 +2 -0 src/sys/dev/e1000/if_lem.h 1.25.2.3 +16 -1 src/sys/dev/ixgb/if_ixgb.c 1.9.10.2 +2 -0 src/sys/dev/ixgb/if_ixgb.h 1.17.2.9 +16 -1 src/sys/dev/ixgbe/ixgbe.c 1.9.2.5 +2 -0 src/sys/dev/ixgbe/ixgbe.h