From owner-freebsd-hackers Fri Mar 7 10:45: 6 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AEC837B401 for ; Fri, 7 Mar 2003 10:45:05 -0800 (PST) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D19A43FAF for ; Fri, 7 Mar 2003 10:45:04 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from dialup-209.244.106.70.dial1.sanjose1.level3.net ([209.244.106.70] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18rMq5-0002Tm-00; Fri, 07 Mar 2003 10:45:02 -0800 Message-ID: <3E68E859.EAB20A71@mindspring.com> Date: Fri, 07 Mar 2003 10:43:37 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Wes Peters Cc: Paulo Roberto , Bram Van Dam , freebsd-hackers@freebsd.org Subject: Re: Realtek References: <20030306230206.70461.qmail@web14913.mail.yahoo.com> <200303062136.44471.wes@softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a440d3988e22cab06c18566b7253d29d30350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wes Peters wrote: > The problem with the RealTek chipset is that the packets have to be > aligned on some completely stupid boundary in memory (32 bytes if memory > serves). The driver code ends up copying the packet data to a tempory > buffer before sending it for almost every outgoing packet, which is just > totally stupid. And TCP/IP headers are not an even multiple of the alignment boundary (4 bytes, actually). So every packet the card DMA's in has to be copied so that access to the TCP packet contents are aligned. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message