From owner-freebsd-current@FreeBSD.ORG Wed Nov 16 19:26:24 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF890106566B for ; Wed, 16 Nov 2011 19:26:24 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB848FC0A for ; Wed, 16 Nov 2011 19:26:24 +0000 (UTC) Received: by iakl21 with SMTP id l21so1511130iak.13 for ; Wed, 16 Nov 2011 11:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=6yTbJlSZfkC5jFVJLAfVhLpd3vhRJ60YybRADZ+mKzA=; b=i04oDZ86Bk8uqmUk9vk207vVcFNxqFYLyo5Cz0XSsqCgfiEDzhCZJcfhwIMfikIJv/ D7jAfo5HiUr+0p1NY/kgzsk7LoAiMgtEgG3sXrrbsQUWfGyCDnIQC0XVAOedSKB0UyCM PnOADUk4aJ4vc57lDqFdUpryYHmq4XbLvd6Ds= Received: by 10.42.161.132 with SMTP id t4mr33883571icx.16.1321471582740; Wed, 16 Nov 2011 11:26:22 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id l28sm6630564ibc.3.2011.11.16.11.26.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Nov 2011 11:26:21 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 16 Nov 2011 11:24:21 -0800 From: YongHyeon PYUN Date: Wed, 16 Nov 2011 11:24:21 -0800 To: freebsd-current@FreeBSD.org Message-ID: <20111116192421.GA11828@michelle.cdnetworks.com> References: <20110527014043.GE18312@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110527014043.GE18312@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: CFT: msk(4) 64bit DMA support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2011 19:26:24 -0000 On Thu, May 26, 2011 at 06:40:43PM -0700, YongHyeon PYUN wrote: > Hi, > > Here is a patch that implements 64bit DMA on msk(4). If you use > msk(4) on a system that has more than 4GB memory, please try the > patch at the following URL and let me know whether it works or not. > You need latest msk(4) in HEAD to apply the patch. > http://people.freebsd.org/~yongari/msk/msk.64bit.dma.diff > > Previously msk(4) may have used bounce buffers on systems that have > more than 4GB memory. You can verify whether msk(4) is using bounce > buffers by checking the output of "sysctl hw.busdma". For instance, > hw.busdma.zone0.total_bounced counter would increase while network > operation is in progress. If patch above works you wouldn't see > the counter change anymore and it would also enhance network > performance since it wouldn't have to copy from or to bounce > buffers. > Committed to HEAD(r227582). > Thanks.