From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44])
 by dpdk.org (Postfix) with ESMTP id 2F2CE68AE
 for <dev@dpdk.org>; Fri,  1 Aug 2014 15:08:43 +0200 (CEST)
Received: by mail-wg0-f44.google.com with SMTP id m15so4165838wgh.15
 for <dev@dpdk.org>; Fri, 01 Aug 2014 06:10:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=tqkP8e/+i6Us4IP6tm7E1PDSHmaYqPFo9xTGolsOrVU=;
 b=bSQsnxQDGWMkqzn/eMtfc2jL6ijpCPmrgbDqP1CJR2mFgBRkY8j5nSeT24Oj6QvRdQ
 Gh/EhF8AEfdQ1QecYM7YwHkNI5rlQnHnBxKkUfO6bTwQ+s6pGIT2JyHzdmNjl1fUpvw9
 Vk9/6Q+KwDTAQ2WSdqtA4J+bSK3OtJWuopWhQRWQNcLvw+cI7Ku7/4Ey4bHlRkiyIJCU
 LHXlhgk9ixkNESf1yxqQ4UCNYAZ/P/1lryQmVnU+/OsF5bkEw6KiJne+XuOMqKR2hLYb
 Vn+KQUtBy7MVcFv+MU2a7ZFEJA9Z7rFUVmL+azi6KTERvg//M51aIgYzExmO2ZTq203o
 6rCQ==
X-Gm-Message-State: ALoCoQmAeSYRmaqo4x4uJQUZwmN1mKT18EdwzJdYh9PFEfNT9tar4gzDc/qYnMXmvHSd1JxB6NkU
X-Received: by 10.194.78.243 with SMTP id e19mr7675808wjx.119.1406898645683;
 Fri, 01 Aug 2014 06:10:45 -0700 (PDT)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by mx.google.com with ESMTPSA id fr4sm8620347wic.16.2014.08.01.06.10.44
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 01 Aug 2014 06:10:44 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Stephen Hemminger <stephen@networkplumber.org>, dev@dpdk.org
Date: Fri, 01 Aug 2014 15:10:34 +0200
Message-ID: <9317787.qKVt3oyQbN@xps13>
Organization: 6WIND
User-Agent: KMail/4.13.3 (Linux/3.15.7-1-ARCH; KDE/4.13.3; x86_64; ; )
In-Reply-To: <20140725103627.4ca989b7@haswell.linuxnetplumber.net>
References: <20140725103627.4ca989b7@haswell.linuxnetplumber.net>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Aug 2014 13:08:43 -0000

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 <stephen@networkplumber.org>

Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied for version 1.7.1.

There are still some compilation issues with RHEL:
include/linux/pci.h:1572: note: previous declaration of =E2=80=98pci_nu=
m_vf=E2=80=99 was here
include/linux/pci.h:868: note: previous declaration of =E2=80=98pci_int=
x_mask_supported=E2=80=99 was here
include/linux/pci.h:869: note: previous declaration of =E2=80=98pci_che=
ck_and_mask_intx=E2=80=99 was here

Some ifdefs are missing but I don't want to dig into RHEL kernel header=
s 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 head=
ers
or to know the release where a symbol appeared, it would be very useful=
.

--=20
Thomas