From owner-svn-src-head@FreeBSD.ORG Fri Jun 11 18:09:46 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9A6A1065702; Fri, 11 Jun 2010 18:09:46 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5AFDE8FC2B; Fri, 11 Jun 2010 18:09:46 +0000 (UTC) Received: by pwj1 with SMTP id 1so954115pwj.13 for ; Fri, 11 Jun 2010 11:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=R1UWyhAmDL1I3ZHrBxloxdQmcJJ12G4bP6V1vY1EVf0=; b=plCwSTuGwBTpQw+VB7sGwW44h8fezwmvBiHbRgQZLPRUmStfcrqt+uDmyPVOPgKmGU yInYVEb6FzCWWzaqk3U8B8A8B5OfR1uui12fTxBEwkcElBO/dcBsvL07FEK12YIv0l9Y TVR7HEvZx4TlBZ2nq0vvtd1TxLv7EWrFPjKAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QYIs4CNzekXqC82e4kvG2DNGCztg7294ptvzGiG9u6YkfvpICoJ4nuauIrpNLt5+r4 OxJFtuzmYRE6g+GMVhSA+O7+SSoT+69yBzz6t6smDLlAE8UbQdROSKU5dy8JdPOxqq+A Kh6l3UQKAfPCSsTH8AtdmbKnEENWHLEdEoP2k= Received: by 10.115.134.11 with SMTP id l11mr1733252wan.160.1276279785791; Fri, 11 Jun 2010 11:09:45 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id c22sm16199193wam.18.2010.06.11.11.09.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Jun 2010 11:09:45 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 11 Jun 2010 11:08:24 -0700 From: Pyun YongHyeon Date: Fri, 11 Jun 2010 11:08:24 -0700 To: Marcel Moolenaar Message-ID: <20100611180824.GG13776@michelle.cdnetworks.com> References: <201006110751.40735.jhb@freebsd.org> <853068F6-D736-4DA3-859F-D946D096843D@samsco.org> <19B0DF11-5998-40F5-8095-8D2521B1C597@mac.com> <291D17F7-F387-4A13-8ED9-2898A9F7E018@mac.com> <028BA7D4-90C8-4D2D-B9A5-C1C3CF9B6D7D@samsco.org> <20100611174137.GC13776@michelle.cdnetworks.com> <9F065122-7D91-42E9-A251-5AF4AAF0B4E5@samsco.org> <20100611175016.GD13776@michelle.cdnetworks.com> <59E450BB-1E79-440E-AF82-B78E1E8FE334@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59E450BB-1E79-440E-AF82-B78E1E8FE334@mac.com> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, Scott Long , src-committers@freebsd.org, svn-src-all@freebsd.org, John Baldwin Subject: Re: svn commit: r209026 - in head/sys/ia64: ia64 include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 18:09:46 -0000 On Fri, Jun 11, 2010 at 11:06:06AM -0700, Marcel Moolenaar wrote: > > On Jun 11, 2010, at 10:50 AM, Pyun YongHyeon wrote: > > >>>> > >>>> I'm not clear why you even need bounce buffers for RX. The chip supports 64bit addresses with no boundary or alignment restrictions. > >>>> > >>> > >>> Some controllers have 4G boundary bug so bge(4) restricts dma > >>> address space. > >> > >> That limitation should be reflected in the boundary attribute of the tag, not the lowaddr/highaddr attributes. > >> > > > > Yes, but that needed more code. And I don't have these buggy > > controllers so I chose more simple way that would work even though > > it may be inefficient. > > Do you happen to know if one or both of the hardware I have access to > is the "buggy" hardware? > Yes, both devices below can not handle 4GB boundary crossing in DMA state machine. > bge0@pci0:32:2:0: class=0x020000 card=0x12a4103c chip=0x164514e4 rev=0x15 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'broadtcomBCM5701 Gigabit Ethernet (BCM5701)' > class = network > subclass = ethernet > bar [10] = type Memory, range 64, base 0x90800000, size 65536, enabled > cap 07[40] = PCI-X 64-bit supports 133MHz, 512 burst read, 1 split transaction > cap 01[48] = powerspec 2 supports D0 D3 current D0 > cap 03[50] = VPD > cap 05[58] = MSI supports 8 messages, 64 bit > > bge0@pci0:1:2:0: class=0x020000 card=0x1311103c chip=0x164814e4 rev=0x10 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme Dual Gigabit Adapter (BCM5704)' > class = network > subclass = ethernet > bar [10] = type Memory, range 64, base 0xa0450000, size 65536, enabled > cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction > cap 01[48] = powerspec 2 supports D0 D3 current D0 > cap 03[50] = VPD > cap 05[58] = MSI supports 8 messages, 64 bit > > -- > Marcel Moolenaar > xcllnt@mac.com > > >