From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 83E7D8DA4 for ; Fri, 20 Apr 2018 11:08:04 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ED63322194; Fri, 20 Apr 2018 05:08:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 20 Apr 2018 05:08:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=GTKkcJieEPkuo8B0ysB1bckFFv 8xeSa73PGZY2SGOXM=; b=q35cpER4Yz50Iy/yZPtLvWviKe70xJ4NsDR7oBdDWi JdZxZ0aaFPj+yWAFnK7D0IOcesHGTMcmU2K4OIvVEoBircGAKs+vaNFBa+WU0GwW hz6NhJSTZCTQdjbtUOlhms2bSgROnIXMQZFUcYPEnhMOvxC+PSlX6gWyk6hueosL U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=GTKkcJ ieEPkuo8B0ysB1bckFFv8xeSa73PGZY2SGOXM=; b=ibUUTihNR66FBncjKikJsF I/zS41DOEkVRj9hLB2Bg1Xkl+zqtTSA9+dAtjU1nyiPWzFcdLlkSZJi9pkvxX56+ rj107VxA08PQxbVx0IKOLbNGT0hddrmSVsLyhIptV2ju3INAj3g99Jme+isYd04b t7jxUoaRDBWxOLxYLE634REA38QeY7Br3WuY5MO1jKaEFo4BMVpH9XN6FE0hh6y2 3BeGjnB5iV45jX/v6JGnnsFn7c/oZZhMPt1xeD7YCaYRcxaMc/Eh1CpY1qiGmOp5 M3Z/Q6uNpGVijztHwUYSBcM94HnNRRKi4jQgVfNhr4JqLf5v5dMO5F44mHXvb2dQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 32180E463E; Fri, 20 Apr 2018 05:08:03 -0400 (EDT) From: Thomas Monjalon To: Ajit Khaparde Cc: dev@dpdk.org, Ferruh Yigit , Scott Branden Date: Fri, 20 Apr 2018 11:08:01 +0200 Message-ID: <1927692.e1bpPFthey@xps> In-Reply-To: <4384be8c-8668-7897-8409-ff4707e4588c@intel.com> References: <8CEF83825BEC744B83065625E567D7C24E0AE9AB@IRSMSX108.ger.corp.intel.com> <20180417175225.41628-1-ajit.khaparde@broadcom.com> <4384be8c-8668-7897-8409-ff4707e4588c@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] igb_uio: only check for pci bridge if supported by linux kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2018 09:08:04 -0000 17/04/2018 20:07, Ferruh Yigit: > On 4/17/2018 6:52 PM, Ajit Khaparde wrote: > > From: Scott Branden > > > > Starting from Linux v3.16 pci_is_bridge() is in linux/pci.h, > > in previous versions it is in drivers/pci/pci.h which is private header. > > > > Fix build error when calling pci_is_bridge by not calling/supporting > > pci_is_bridge with kernel versions before 3.16. > > > > Fixes: 6f0841b7701b ("igb_uio: bind error if PCIe bridge") > > > > Signed-off-by: Scott Branden > > Signed-off-by: Ajit Khaparde > > Reported-by: Ferruh Yigit > > Acked-by: Bernard Iremonger > > Acked-by: Ferruh Yigit Applied, thanks