From owner-svn-src-all@FreeBSD.ORG Fri Jun 11 12:25:03 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D2581065674; Fri, 11 Jun 2010 12:25:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1DFD88FC1D; Fri, 11 Jun 2010 12:25:02 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C3CC046BC5; Fri, 11 Jun 2010 08:25:01 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 13E638A04E; Fri, 11 Jun 2010 08:25:01 -0400 (EDT) From: John Baldwin To: Marcel Moolenaar Date: Fri, 11 Jun 2010 07:51:40 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201006110300.o5B30X9q045387@svn.freebsd.org> In-Reply-To: <201006110300.o5B30X9q045387@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006110751.40735.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 11 Jun 2010 08:25:01 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r209026 - in head/sys/ia64: ia64 include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 11 Jun 2010 12:25:03 -0000 On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: > Author: marcel > Date: Fri Jun 11 03:00:32 2010 > New Revision: 209026 > URL: http://svn.freebsd.org/changeset/base/209026 > > Log: > Bump MAX_BPAGES from 256 to 1024. It seems that a few drivers, bge(4) > in particular, do not handle deferred DMA map load operations at all. > Any error, and especially EINPROGRESS, is treated as a hard error and > typically abort the current operation. The fact that the busdma code > queues the load operation for when resources (i.e. bounce buffers in > this particular case) are available makes this especially problematic. > Bounce buffering, unlike what the PR synopsis would suggest, works > fine. > > While on the subject, properly implement swi_vm(). NIC drivers do not handle deferred load operations at all (note that bus_dmamap_load_mbuf() and bus_dmamap_load_mbuf_sg() enforce BUS_DMA_NOWAIT). It is common practice to just drop the packet in that case. -- John Baldwin