Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2011 11:24:21 -0800
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        freebsd-current@FreeBSD.org
Subject:   Re: CFT: msk(4) 64bit DMA support
Message-ID:  <20111116192421.GA11828@michelle.cdnetworks.com>
In-Reply-To: <20110527014043.GE18312@michelle.cdnetworks.com>
References:  <20110527014043.GE18312@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111116192421.GA11828>