Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752723AbaBKBIK (ORCPT ); Mon, 10 Feb 2014 20:08:10 -0500 Received: from mail-ig0-f176.google.com ([209.85.213.176]:63793 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752163AbaBKBIH (ORCPT ); Mon, 10 Feb 2014 20:08:07 -0500 Date: Mon, 10 Feb 2014 18:08:03 -0700 From: Bjorn Helgaas To: David Miller Cc: agordeev@redhat.com, linux-kernel@vger.kernel.org, mchan@broadcom.com, netdev@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 01/34] bnx2: Use pci_enable_msix_range() Message-ID: <20140211010803.GD12851@google.com> References: <434a34e01c353441131204edef36126a95e8928a.1391172839.git.agordeev@redhat.com> <20140131.133051.483295479425700960.davem@davemloft.net> <20140211003814.GC12851@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140211003814.GC12851@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 10, 2014 at 05:38:14PM -0700, Bjorn Helgaas wrote: > On Fri, Jan 31, 2014 at 01:30:51PM -0800, David Miller wrote: > > > > Please submit this patch series when the net-next tree opens back up, > > I'm only accepting bug fixes at this time. > > > > Also, please always provide a proper "00/NN" openning posting for a > > patch series, that gives background and high level information about > > what your patch series is trying to achieve and how it achieves it. > > > > That way people reviewing the patches know what to expect, and why, > > and I have exactly one posting to reply to if I apply the whole > > series. > > I *think* this whole series applies to drivers/net (the usual patch sending > tools like "stg mail" insert the diffstat automatically in the 00/nn > message), and it sounds like David is willing to apply them via his tree, > so I'm ignoring these for now. Let me know if you need me to do anything. I skimmed these and the scsi patches, and I think you were right in proposing an MSI-X enable function that takes a single "number of vectors" argument, in addition to pci_enable_msix_range(), which takes a minimum and a maximum. Obviously the pci_enable_msix_fixed() or whatever could be a simple #define wrapper or something. Of the fifty-some net and scsi patches, I counted 23 that use the min == max pattern, and it seems a shame to have to repeat that expression. BTW, I noticed that Documentation/PCI/MSI-HOWTO.txt uses pci_enable_msi_range() in some of the examples that are really talking about pci_enable_msix_range() (4.3.1.1 and 4.3.1.2, at least). Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/