From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] igb_uio: switch to pci_alloc_irq_vectors() Date: Thu, 20 Apr 2017 12:59:57 +0100 Message-ID: References: <20170420090140.30566-1-nicolas.dichtel@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, david.marchand@6wind.com To: Nicolas Dichtel Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C6C4D2BA2 for ; Thu, 20 Apr 2017 14:00:00 +0200 (CEST) In-Reply-To: <20170420090140.30566-1-nicolas.dichtel@6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 4/20/2017 10:01 AM, Nicolas Dichtel wrote: > pci_enable_msix() will be removed in kernel 4.12. The new API is available > since linux 4.8, thus let's use it. > > Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aff171641d18 > Link: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=4244de1c64de > Signed-off-by: Nicolas Dichtel > Reviewed-by: David Marchand <...> > +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) > +#define HAVE_PCI_ENABLE_MSIX > +#endif Would you mind moving this check to the end of the file, to preserve version check in increasing order (although I aware some doesn't fit this)? When above done: Acked-by: Ferruh Yigit