From owner-freebsd-net@FreeBSD.ORG Fri Mar 18 08:21:31 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C94A816A4CE for ; Fri, 18 Mar 2005 08:21:31 +0000 (GMT) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 361E643D5A for ; Fri, 18 Mar 2005 08:21:31 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 72326 invoked from network); 18 Mar 2005 08:21:30 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 18 Mar 2005 08:21:30 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 18 Mar 2005 02:21:20 -0600 (CST) From: Mike Silbersack To: John-Mark Gurney In-Reply-To: <20050317221359.GN89312@funkthat.com> Message-ID: <20050318021907.H844@odysseus.silby.com> References: <20050317221359.GN89312@funkthat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-net@FreeBSD.org Subject: Re: changes to make ethernet packets able to be unaligned... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 08:21:31 -0000 On Thu, 17 Mar 2005, John-Mark Gurney wrote: > Ok, since you wanted to look at it more... I have a working copy of > making packets alignment safe for ip in p4 at as change 73150: > http://perforce.freebsd.org/changeView.cgi?CH=73150&ignore=GO%21 > > This currently is only for arm and I plan to now remove the code from > epe.c that copies the packet around since it's really stupid, and > considering how easily NetBSD did this (it took about about 5 minutes > to get this code running), I'm ashamed that I didn't do this a while > back when I was working on if_re... > > Comments please? I'm confused - don't sparc64 and alpha have similar alignment requirements? Why does arm require code changes? Mike "Silby" Silbersack