Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 15:44:58 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Bosko Milekic <bmilekic@technokratis.com>, Zhihui Zhang <zzhang@cs.binghamton.edu>, vishwanath pargaonkar <vishubp@yahoo.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: cluster size
Message-ID:  <20010726154458.H26571@elvis.mu.org>
In-Reply-To: <3B6058AC.32F6B2EB@mindspring.com>; from tlambert2@mindspring.com on Thu, Jul 26, 2001 at 10:51:40AM -0700
References:  <20010725140737.A25132@technokratis.com> <Pine.SOL.4.21.0107251416550.21505-100000@opal> <20010725143649.A25300@technokratis.com> <3B6050D1.9DCCD23@mindspring.com> <20010726133617.B33517@technokratis.com> <20010726123900.E26571@elvis.mu.org> <3B6058AC.32F6B2EB@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Terry Lambert <tlambert2@mindspring.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726154458.H26571>