Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754280Ab3JDIdv (ORCPT ); Fri, 4 Oct 2013 04:33:51 -0400 Received: from mx0.aculab.com ([213.249.233.131]:60570 "HELO mx0.aculab.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752846Ab3JDIdo convert rfc822-to-8bit (ORCPT ); Fri, 4 Oct 2013 04:33:44 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8BIT Subject: RE: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern Date: Fri, 4 Oct 2013 09:31:49 +0100 Message-ID: In-Reply-To: <20131004082920.GA4536@dhcp-26-207.brq.redhat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern Thread-Index: Ac7A24Xh24Ru1N/rSJKnB/t2ngSngQAAEvWg References: <1380840585.3419.50.camel@bwh-desktop.uk.level5networks.com> <20131004082920.GA4536@dhcp-26-207.brq.redhat.com> From: "David Laight" To: "Alexander Gordeev" , "Ben Hutchings" Cc: , "VMware, Inc." , , , , "Andy King" , , , , "Ingo Molnar" , , , , "Tejun Heo" , "Bjorn Helgaas" , "Dan Williams" , "Jon Mason" , "Solarflare linux maintainers" , , , "Ralf Baechle" , , "Martin Schwidefsky" , , Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 23 > > It seems to me that a more useful interface would take a minimum and > > maximum number of vectors from the driver. This wouldn't allow the > > driver to specify that it could only accept, say, any even number within > > a certain range, but you could still leave the current functions > > available for any driver that needs that. > > Mmmm.. I am not sure I am getting it. Could you please rephrase? One possibility is for drivers than can use a lot of interrupts to request a minimum number initially and then request the additional ones much later on. That would make it less likely that none will be available for devices/drivers that need them but are initialised later. David -- 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/