From owner-svn-src-head@FreeBSD.ORG Wed Jan 18 22:43:59 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C61FA106566C for ; Wed, 18 Jan 2012 22:43:59 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8CB618FC16 for ; Wed, 18 Jan 2012 22:43:59 +0000 (UTC) Received: by iagz16 with SMTP id z16so11472675iag.13 for ; Wed, 18 Jan 2012 14:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=+jNX1usHcDMhKIlXjvZf5OzwT8cqxQrM/KQbQhLFRHk=; b=DjbA3sIrylJ7NSIC3b1O/2DCf2xXqXP17L7npsjseDoWu7Mm9v29rxNmZecZhHlQJE neRlFAsxLxxaWUx7mwpJ/k2d2AlHsq3NZerjKo0hjBbPnaJRy7hRuRP+bkzO3bimT+nC nshT/06SXpjuIEYqhbc2Wh6MBPfYglydJj9Sk= Received: by 10.42.168.202 with SMTP id x10mr19708340icy.4.1326924857715; Wed, 18 Jan 2012 14:14:17 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id r5sm46721946igl.3.2012.01.18.14.14.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jan 2012 14:14:16 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 18 Jan 2012 14:14:15 -0800 From: YongHyeon PYUN Date: Wed, 18 Jan 2012 14:14:15 -0800 To: John Baldwin Message-ID: <20120118221415.GD7469@michelle.cdnetworks.com> References: <201201172215.q0HMFXgI009891@svn.freebsd.org> <201201180953.51362.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201201180953.51362.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Pyun YongHyeon Subject: Re: svn commit: r230286 - head/sys/dev/bge X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 22:43:59 -0000 On Wed, Jan 18, 2012 at 09:53:51AM -0500, John Baldwin wrote: > On Tuesday, January 17, 2012 5:15:33 pm Pyun YongHyeon wrote: > > Author: yongari > > Date: Tue Jan 17 22:15:33 2012 > > New Revision: 230286 > > URL: http://svn.freebsd.org/changeset/base/230286 > > > > Log: > > Introduce a tunable that disables use of MSI. > > Non-zero value will use INTx. > > Hmm, do you think it is best to do this on a per-device level vs a per-driver > level (e.g. a 'hw..msi' tunable ala mfi(4))? Also, I think it is I thought that too. But what if other bge(4) controller on the box works with MSI? I admit it would be rare case but making it per-device-level wouldn't hurt. > better to have a flag whose value more closely matches enable/disable (so 1 > for enable, etc.) and default it to on, than to have a 'disable' tunable. > The decision was made to make it easy to support MSIX in future. If controller supports both MSIX and MSI, the suggested scheme may confuse users but I don't have strong opinion on that so will follow your suggestion. Thank you.