From owner-freebsd-hackers Thu Jul 26 13:45:11 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id D21FE37B407 for ; Thu, 26 Jul 2001 13:45:08 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id B66B781D0C; Thu, 26 Jul 2001 15:44:58 -0500 (CDT) Date: Thu, 26 Jul 2001 15:44:58 -0500 From: Alfred Perlstein To: Terry Lambert Cc: Bosko Milekic , Zhihui Zhang , vishwanath pargaonkar , freebsd-hackers@FreeBSD.ORG Subject: Re: cluster size Message-ID: <20010726154458.H26571@elvis.mu.org> References: <20010725140737.A25132@technokratis.com> <20010725143649.A25300@technokratis.com> <3B6050D1.9DCCD23@mindspring.com> <20010726133617.B33517@technokratis.com> <20010726123900.E26571@elvis.mu.org> <3B6058AC.32F6B2EB@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B6058AC.32F6B2EB@mindspring.com>; from tlambert2@mindspring.com on Thu, Jul 26, 2001 at 10:51:40AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Terry Lambert [010726 12:51] wrote: > Alfred Perlstein wrote: > > > On Thu, Jul 26, 2001 at 10:18:09AM -0700, Terry Lambert wrote: > > > > The real reason behind all this is to make the input and output > > > > routines symmetric, since mbuf's can be allocated at interrupt, > > > > and clusters can't (or couldn't, last time I looked at 4.3). > > > > > > They can. Whether they are or not I'm not sure. > > > > Er, wouldn't that be the only way for cards to refil thier DMA > > recieve buffers? > > Look at the Tigon II and FXP drivers. The allocations in > the macros turn into m_get, not m_clusterget. It looks like (at least in -current) that fxp_intr() calls fxp_add_rfabuf() which calls MGETHDR() followed by MCLGET(). -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message