Subject: Re: D-Link support - Are docs right?
To: Donald Lee <donlee_ppc@icompute.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-macppc
Date: 07/17/2001 22:27:57
On Wed, Jul 18, 2001 at 12:13:13AM -0500, Donald Lee wrote:

 > Jul 18 00:09:48 charm /netbsd: rtk0 at pci0 dev 15 function 0: D-Link Systems DFE 530TX+
 > Jul 18 00:09:48 charm /netbsd: rtk0: interrupting at irq 25
 > Jul 18 00:09:48 charm /netbsd: rtk0: Ethernet address 00:50:ba:55:02:51
 > Jul 18 00:09:48 charm /netbsd: ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
 > Jul 18 00:09:49 charm /netbsd: ukphy0: OUI 0x000000, model 0x0000, rev. 0
 > Jul 18 00:09:49 charm /netbsd: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > 
 > I'll have to do
 > some benchmarking to see if it can drive a full 100 Mbits, but

Don't bother -- the RealTek cards that the "rtk" driver supports are
crappy, bottom of the barrel junk chips.  There's a reason they're
so cheap.  They are slow for several reasons, but the short list:

	- Transmit queue depth of only 4 packets.
	- Transmit packets must start on 4-byte boundary, and be
	  a single DMA segment.  This virtually guarantees that
	  the packet must be copied to a new buffer first.
	- They receive into a ring buffer which means the packet
	  must be copied out of the ring buffer into the mbuf.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>