From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199710301909.OAA06882@linux03.amt.tay1.dec.com> Date: Thu, 30 Oct 1997 14:09:56 +0500 From: Jay.Estabrook@digital.com Subject: Re: tulip.c, em86, netscape, quake -- help? pointers? In-Reply-To: >>> 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