Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 23:15:54 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Bosko Milekic <bmilekic@technokratis.com>
Cc:        Alfred Perlstein <bright@mu.org>, Zhihui Zhang <zzhang@cs.binghamton.edu>, vishwanath pargaonkar <vishubp@yahoo.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: cluster size
Message-ID:  <3B61071A.C637EA85@mindspring.com>
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> <20010726140437.A33713@technokratis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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