From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 20:50:57 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B9D1065696 for ; Mon, 14 Dec 2009 20:50:57 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 14E0F8FC19 for ; Mon, 14 Dec 2009 20:50:56 +0000 (UTC) Received: by qyk6 with SMTP id 6so1689522qyk.3 for ; Mon, 14 Dec 2009 12:50:56 -0800 (PST) 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=U2RISUmH17Iwg/Ug0+4hOjMk70IEwh9mCBYXpi4/L/U=; b=RKvTFgo8hi3rt0HKV3hJg719+aT6EFR0SATHYTjChwVKmarArYVG2xWTtLmY0PU8GN FnNB2py9ysw97J5Hj+ABb5F9KBZfqkGYToPSlAW3KCgqZI2D3uk5AFj2M4gkWCZ9f81e 1uuCU3/eXVt2VtNg1SS8L4a8iVjSgdwXNDRXM= 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=XiIk5CU6w+iwEMeDiYEv8cdgYXSiB93JP9DGDMs5T99e2glh9eZXIhO26r3LTKr70g zu/kfE1LM58lGNlI3lJgdUx9/fPz2Uc+VXoyZWnD5+aGzRWex9+H4S1KgVeoTZb2DpzL X/l0dVVbbdPeQuLpuLBwGAvTi6dSwFOirW+kQ= Received: by 10.224.24.204 with SMTP id w12mr3287586qab.366.1260823856118; Mon, 14 Dec 2009 12:50:56 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm10535468qwd.26.2009.12.14.12.50.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Dec 2009 12:50:54 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 14 Dec 2009 12:50:44 -0800 From: Pyun YongHyeon Date: Mon, 14 Dec 2009 12:50:44 -0800 To: Yoshiaki Kasahara Message-ID: <20091214205044.GB1122@michelle.cdnetworks.com> References: <20091208180836.GL1366@michelle.cdnetworks.com> <20091210215249.GG10121@michelle.cdnetworks.com> <20091211000848.GK10121@michelle.cdnetworks.com> <20091214.110137.585114676083292120.kasahara@nc.kyushu-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091214.110137.585114676083292120.kasahara@nc.kyushu-u.ac.jp> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: vge problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 20:50:57 -0000 On Mon, Dec 14, 2009 at 11:01:37AM +0900, Yoshiaki Kasahara wrote: > On Thu, 10 Dec 2009 16:08:49 -0800, > Pyun YongHyeon said: > > > While reading the code again I found some suspicious part which > > could be related with your issue. The controller's CMZ field has > > 3bits so it can handle 7 fragments of a TX frame. However, > > controller wants to see number of fragments + 1 in this field which > > means we can't use all 7 fragments in a TX descriptor. I changed > > the patch to reduce number of TX fragments to 6. Does the following > > patch make any difference for you? > > http://people.freebsd.org/~yongari/vge/vge.busdma.diff3 > > I'm sorry I was away from the console during last weekend.... > > Today I booted new kernel with diff3 patch, and did a couple of tests > (massive thumbnail loading and csup). All of them worked as expected > and no Send-Q stack observed, so I believe the problem is fixed by > this patch. > FYI: Patch committed to HEAD.