From owner-freebsd-hackers Thu Jul 26 23:15:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 8ECF037B405 for ; Thu, 26 Jul 2001 23:15:31 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.136.132.Dial1.SanJose1.Level3.net [209.245.136.132]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA07023; Thu, 26 Jul 2001 23:15:15 -0700 (PDT) Message-ID: <3B61071A.C637EA85@mindspring.com> Date: Thu, 26 Jul 2001 23:15:54 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bosko Milekic Cc: Alfred Perlstein , Zhihui Zhang , vishwanath pargaonkar , freebsd-hackers@FreeBSD.ORG Subject: Re: cluster size 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> <20010726140437.A33713@technokratis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Bosko Milekic wrote: > > > 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. > > From if_fxp.c (fxp_add_rfabuf(), sometimes called from fxp_intr()): > > MGETHDR(...); <-- get mbuf > if (m != NULL) { > MCLGET(...); <-- get cluster > ... > } Yes, I had misread things. Alfred pointed this out to me in person, earlier. I had been reading the jumbogram code, which uses a seperate buffer space, and then just incorrectly assumed. Thanks for getting thecorrection into the list archives, so that future readers will be less confused: you spared me having to do the same. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message