From owner-svn-src-all@FreeBSD.ORG Wed Aug 21 15:53:56 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CCEBFB9E; Wed, 21 Aug 2013 15:53:56 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 89A5725EA; Wed, 21 Aug 2013 15:53:56 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 17B60121E5; Thu, 22 Aug 2013 01:53:55 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BOC74114 (AUTH peterg@ptree32.com.au); Thu, 22 Aug 2013 01:53:53 +1000 Message-ID: <5214E28F.2060703@freebsd.org> Date: Wed, 21 Aug 2013 08:53:51 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Andre Oppermann Subject: Re: svn commit: r254520 - in head/sys: kern sys References: <201308191116.r7JBGsc6065793@svn.freebsd.org> <521256CE.6070706@FreeBSD.org> <5212870A.50105@freebsd.org> <521291F1.8060500@FreeBSD.org> <5214D5E0.9040002@freebsd.org> <5214D6CA.2040405@freebsd.org> <5214DDA4.4010504@freebsd.org> In-Reply-To: <5214DDA4.4010504@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Navdeep Parhar X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Aug 2013 15:53:56 -0000 Hi Andre, > On 21.08.2013 17:03, Peter Grehan wrote: >>> The way to go should be 4K clusters as they are native to the >>> architecture. >>> IIRC a PCIe DMA can't cross a 4K boundary anyway >> >> That's a 4G boundary, for some devices. > > I meant a single PCIe DMA transaction can be at most 4K before it has to > set up another one? 4K is the maximum TLP size but that's rarely (ever?) used - 128 or 256 bytes is more common. A DMA operation is just a sequence of TLPs originating from the endpoint. later, Peter.