From owner-svn-src-all@FreeBSD.ORG Thu Jun 25 01:49:16 2009 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 495D91065670; Thu, 25 Jun 2009 01:49:16 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 01A5B8FC21; Thu, 25 Jun 2009 01:49:15 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id f9so224965rvb.43 for ; Wed, 24 Jun 2009 18:49:15 -0700 (PDT) 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=z12R/VNjVAlrNiY8fSiR4VQO3MmLssycvhxoMhR6c50=; b=jLMn4o8GRYCdgGNpG29OfccCUXzmP97KG/8bNwayG7ZBvgDmGEVr1561xh9WkfzoqQ p1nqpjcWJImGlFLGNIHHu/GG9uxJ6XphxrP9nl54ZnwrLrnkqYuuQH4LMD7On+aH67/u paWb6yiyek2D7iWmwplqaCp/99VtPyuQcGduk= 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=SCdkXQNoGlJbl881km0Ox+1tHAqci1fRnxETai/ZbMIo5jvV1nFHKqZEj/qc5vLSTE Jpec02en0wC8Uf1bGXVlnXJ0btyVAvNYBwtRwVqIny8DVKlxB4hNBhhC5Sy7WfTT1Lkz yWFAGLtroZ02/K4n/UGWuBqBpbY42RAuIGeU8= Received: by 10.140.157.5 with SMTP id f5mr1775620rve.165.1245894555734; Wed, 24 Jun 2009 18:49:15 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id g22sm3726953rvb.45.2009.06.24.18.49.13 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Jun 2009 18:49:15 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Thu, 25 Jun 2009 10:54:44 +0900 From: Pyun YongHyeon Date: Thu, 25 Jun 2009 10:54:43 +0900 To: Marius Strobl Message-ID: <20090625015443.GH10712@michelle.cdnetworks.co.kr> References: <200906242056.n5OKu7Ql028836@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906242056.n5OKu7Ql028836@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r194904 - head/sys/dev/cas X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com 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: Thu, 25 Jun 2009 01:49:16 -0000 On Wed, Jun 24, 2009 at 08:56:07PM +0000, Marius Strobl wrote: > Author: marius > Date: Wed Jun 24 20:56:06 2009 > New Revision: 194904 > URL: http://svn.freebsd.org/changeset/base/194904 > > Log: > - Change this driver to do taskqueue(9) based TX and interrupt > handling in order to reduce interrupt overhead which results in > better performance. > - Call ether_ifdetach(9) before stopping the controller and the > callouts detach in order to prevent active BPF listeners to clear > promiscuous mode which may lead to the tick callout being restarted > which will trigger a panic once it's actually gone. > - Add explicit IFF_DRV_RUNNING checking in order to prevent extra > link up/down events when using dhclient(8). > - Use the correct macro for deciding whether 2/3 of the available TX > descriptors are used. > - Wrap the RX fault printing in #ifdef CAS_DEBUG in order to not > unnecessarily frighten users and as debugging was the actual > intention. Real errors caused by these faults still will be > accumulated as input errors. It might be a good idea to later on > add driver specific counters for the faults though. > > Submitted by: yongari (original patch) > Thanks a lot!