From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by dpdk.org (Postfix) with ESMTP id 530EC592F for ; Fri, 22 Aug 2014 19:25:50 +0200 (CEST) Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 003391658C2; Fri, 22 Aug 2014 17:29:32 +0000 (GMT) Received: from prod-mail-relay08.akamai.com (prod-mail-relay08.akamai.com [172.27.22.71]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id E8F621658BE; Fri, 22 Aug 2014 17:29:31 +0000 (GMT) Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub7.dfw01.corp.akamai.com [172.27.25.73]) by prod-mail-relay08.akamai.com (Postfix) with ESMTP id C683D98062; Fri, 22 Aug 2014 17:29:31 +0000 (GMT) Received: from USMBX2.msg.corp.akamai.com ([169.254.1.85]) by ustx2ex-cashub7.dfw01.corp.akamai.com ([172.27.25.73]) with mapi; Fri, 22 Aug 2014 12:29:31 -0500 From: "Sanford, Robert" To: Thomas Monjalon , Stephen Hemminger , "dev@dpdk.org" Date: Fri, 22 Aug 2014 12:29:31 -0500 Thread-Topic: [dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel Thread-Index: Ac++LqGrCd/tOaIEQjGyhlfkG7OvkQ== Message-ID: References: <20140725103627.4ca989b7@haswell.linuxnetplumber.net> <9317787.qKVt3oyQbN@xps13> In-Reply-To: <9317787.qKVt3oyQbN@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.3.140616 acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2014 17:25:50 -0000 Hi Thomas, Not that I would *like* to fix this, but I *need* to fix it. We are using CentOS 6.5, which I believe is based on RHEL. We have kernel 2.6.32-431.3.1.el6.x86_64. I realize that we need to add/change ifdefs around pci_num_vf, pci_intx_mask_supported, and pci_check_and_mask_intx in igb_uio/compat.h. Any more specific suggestions on how to (elegantly) fix it for us, but not break it for anyone else? -- Regards, Robert >2014-07-25 10:36, Stephen Hemminger: >> Add more compatibility wrappers, and split out all the wrapper >> code to a separate file. Builds on Debian Squeeze (2.6.32) which >> is oldest version of kernel current DPDK supports. >>=20 >> Signed-off-by: Stephen Hemminger > >Acked-by: Thomas Monjalon > >Applied for version 1.7.1. > >There are still some compilation issues with RHEL: >include/linux/pci.h:1572: note: previous declaration of =8Cpci_num_vf=B9 w= as >here >include/linux/pci.h:868: note: previous declaration of >=8Cpci_intx_mask_supported=B9 was here >include/linux/pci.h:869: note: previous declaration of >=8Cpci_check_and_mask_intx=B9 was here > >Some ifdefs are missing but I don't want to dig into RHEL kernel headers >to >find what is the first RHEL release to support these functions. >By the way, if someone knows an easy method to get all RHEL kernel headers >or to know the release where a symbol appeared, it would be very useful. > >--=20 >Thomas