From: Jay.Estabrook@digital.com <Jay.Estabrook@digital.com>
Subject: Re: tulip.c, em86, netscape, quake -- help? pointers?
Date: Thu, 30 Oct 1997 14:09:56 +0500 [thread overview]
Message-ID: <199710301909.OAA06882@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <c=US%a=_%p=Digital%l=Internet_Ma-971030184109Z-187239@hloexc1.hlo.dec.com>
>>> Matti Aarnio said:
> ...
> > 1.) What's the best tulip.c driver for the Alpha (PC164)? 0.79 works okay
> > but gives a lot of unaligned traps (the machine never hangs though,
> > it's just annoying...)
>
> 0.81 has a copy alignment threshold raised to 1.5 kB, which
> handles this case. But pray tell me (whoever can), why the
> driver can't assume the packet on Ethernet to be IP, and align
> the input buffers with that in mind -- optimize the common case..
And I've heard that 082 always sets that threshold for Alpha, thus
guaranteeing the copy/align will happen, *without* patch... :-)
> It may, of course, be that the buffer must start at even 32 bit
> boundary, and thus receiving 6+6+2 bytes prefix causes IP header
> to have offset of 2 bytes :-( (DestMAC+SrcMAC,pkttype)
> (Reading 21142 databook would tell, but I pass that now.)
BINGO! Yes, it seems that the TULIP, on Alphas, anyway, can only DMA to
32-bit boundaries, thus the *packets* come out aligned, but not the headers.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-10-30 9:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <c=US%a=_%p=Digital%l=Internet_Ma-971030184109Z-187239@hloexc1.hlo.dec.com>
1997-10-30 9:09 ` Jay.Estabrook [this message]
[not found] <c=US%a=_%p=Digital%l=PKOHUB19710301823Y9J82TMX@hloexc1.hlo.dec.com>
1997-10-30 9:13 ` tulip.c, em86, netscape, quake -- help? pointers? Jay.Estabrook
1997-10-30 18:09 Johan Almqvist
[not found] <Pine.LNX.3.96.971030190801.23478B-100000@bartlet.df.lth.se>
1997-10-30 18:30 ` Matti Aarnio
-- strict thread matches above, loose matches on Subject: below --
1997-10-30 19:12 saswato
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox