From owner-cvs-all@FreeBSD.ORG Tue Aug 15 06:48:22 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E0CD16A4DD for ; Tue, 15 Aug 2006 06:48:22 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5CF43D7D for ; Tue, 15 Aug 2006 06:48:05 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so1614656pyc for ; Mon, 14 Aug 2006 23:48:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=PazF6QhKZJ0Ltl2a/IAQmOA6PKPqKdzYUlDM/q2Qd4Yx7381s2EMS+Y20iA6JC+LLjP+GnLHp6ijwBF/mPi1mZCl2EGNOiFw7LFOPeLnX93roIl3yyxo3XuAt9ksw3IAqIMZjA0KZbxXfv/iq7nuweY674k1LIzz3OrCcy3VQ5Y= Received: by 10.35.91.10 with SMTP id t10mr14897742pyl; Mon, 14 Aug 2006 23:48:04 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 17sm1166374nzo.2006.08.14.23.48.01; Mon, 14 Aug 2006 23:48:04 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k7F6nikC041962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Aug 2006 15:49:44 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k7F6nig7041961; Tue, 15 Aug 2006 15:49:44 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 15 Aug 2006 15:49:43 +0900 From: Pyun YongHyeon To: Matt Reimer Message-ID: <20060815064943.GA41815@cdnetworks.co.kr> References: <200608140150.k7E1osuf005683@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/em if_em.c if_em.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 06:48:22 -0000 On Mon, Aug 14, 2006 at 01:30:37PM -0700, Matt Reimer wrote: > On 8/13/06, Pyun YongHyeon wrote: > >yongari 2006-08-14 01:50:54 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/em if_em.c if_em.h > > Log: > > Overhaul Rx path to recover from mbuf cluster allocation failure. > > o Create one more spare DMA map for Rx handler to recover from > > bus_dmamap_load_mbuf_sg(9) failure. > > o Make sure to update status bit in Rx descriptors even if we failed > > to allocate a new buffer. Previously it resulted in stuck condition > > and em_handle_rxtx task took up all available CPU cycles. > [snip] > > Is it possible that the RELENG_4 if_em driver would suffer from the > same problems, particularly the stuck/CPU-chewing problem? > I think the problem exist in RELENG_4 too. If em_get_buf() fails em(4) exits main Rx loop but still does not update status bits in the Rx descriptor. I think you can easily experiment the problem with "kern.ipc.nmbclusters". > Matt -- Regards, Pyun YongHyeon