From owner-freebsd-net@FreeBSD.ORG Sun Feb 18 23:12:38 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EE1F16A407 for ; Sun, 18 Feb 2007 23:12:38 +0000 (UTC) (envelope-from yb@bashibuzuk.net) Received: from a.6f2.net (a.6f2.net [213.189.5.89]) by mx1.freebsd.org (Postfix) with ESMTP id 25BA913C4AC for ; Sun, 18 Feb 2007 23:12:37 +0000 (UTC) (envelope-from yb@bashibuzuk.net) Received: by a.6f2.net (Postfix, from userid 66) id B1E2BBF8CE4; Mon, 19 Feb 2007 00:12:36 +0100 (CET) Received: by cc.bashibuzuk.net (Postfix, from userid 1001) id D21E8BD19; Sun, 18 Feb 2007 18:12:57 -0500 (EST) Date: Sun, 18 Feb 2007 18:12:57 -0500 From: Yann Berthier To: Max Laier Message-ID: <20070218231257.GF1384@bashibuzuk.net> References: <200702161738.35142.max@love2party.net> <20070216085132.A7944@xorpc.icir.org> <200702181620.26610.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702181620.26610.max@love2party.net> X-Operating-System: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-net@freebsd.org Subject: Re: iwi leaks memory? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 23:12:38 -0000 On Sun, 18 Feb 2007, at 16:20, Max Laier wrote: > The linux driver uses one continuous buffer as well. I tried to hand in > separate buffers, but it failed to initialize the firmware. Attached is > a diff (for HEAD and RELENG_6) to allocate the DMA buffer once and keep > it around. As I said earlier: As long as the firmware is as (un)stable > as it is now, this might be the only sensible way. All in all it's not > that bad, as we "only" throw away 212966 bytes. > > Could you please confirm that this works for you? Patch applied and in use - iwi is now able to survive regular down/up link events.