From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 426568D90 for ; Thu, 19 Apr 2018 23:49:24 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id d1-v6so17785148wrj.13 for ; Thu, 19 Apr 2018 14:49:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=nlq9fpgJP1I3i7s2czJIYhjt4zXql/maHzsSIhDNawg=; b=bU711XpDKtfDqkkKHyvoYqdzm7InbANdjLJDG/vUDrZmrDjoKxtQ9TObHg5KAh3RQm uOMPRfsbEcpsicw95CQrX3DkQnQ39+UbM3EMLytjWteXKMnJqXF2wLzpo6S9vKOwltd4 YJ+bwXNNxuCBN4BAOt2Hn8raWO7Scl9WAePh98VLsd8GVyz+XZ0nHkoxPDNFzi0jBnZY Wba+CjNc/EOlOMw2a/kA/iS9dLqlRfPtQNBYEcHY2yCggKUchETNhYnBW9CYBn+R9mMk tMuEfslYNPi81RPNWpsUbKTu0SzbdrQJnyMByhtkNDVO24sGRqxD00bYQ7DsFC1Sd6sO L3Vw== X-Gm-Message-State: ALQs6tAOEX6orvgFbUoTY1Ukpxt3iMe9cvJ9qv0/2dXrGMMoZDlxHyjl 3n2GYa2rone5a2u5ROFB19c= X-Google-Smtp-Source: AB8JxZqZDaLvXYB3aKmkUDpDV9QTWiVB88UnKxXgjqOqBmoZquNCgo7hCLq7uMPBja1rCBgVsjziuA== X-Received: by 10.28.71.155 with SMTP id m27mr277876wmi.126.1524174563994; Thu, 19 Apr 2018 14:49:23 -0700 (PDT) Received: from localhost (host217-43-52-152.range217-43.btcentralplus.com. [217.43.52.152]) by smtp.gmail.com with ESMTPSA id 36-v6sm5514217wro.63.2018.04.19.14.49.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Apr 2018 14:49:23 -0700 (PDT) Message-ID: <1524174561.14582.2.camel@debian.org> From: Luca Boccassi To: Maxime Coquelin , Lee Roberts , ferruh.yigit@intel.com, Thomas Monjalon , Yuanhan Liu Cc: dev@dpdk.org Date: Thu, 19 Apr 2018 22:49:21 +0100 In-Reply-To: <1b24f058-2a55-73a9-14ab-5002637a7c92@redhat.com> References: <1519946435-3574-1-git-send-email-lee.roberts@hpe.com> <1b24f058-2a55-73a9-14ab-5002637a7c92@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation under RHEL 7.5 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: Thu, 19 Apr 2018 21:49:24 -0000 On Thu, 2018-04-19 at 15:09 +0200, Maxime Coquelin wrote: > Hi Luca, Yuanhan, >=20 > On 03/02/2018 12:20 AM, Lee Roberts wrote: > > Fix kni compilation under RHEL 7.5. > >=20 > > Signed-off-by: Lee Roberts > > --- > > =C2=A0 lib/librte_eal/linuxapp/kni/compat.h | 5 +++++ > > =C2=A0 1 file changed, 5 insertions(+) > >=20 > > diff --git a/lib/librte_eal/linuxapp/kni/compat.h > > b/lib/librte_eal/linuxapp/kni/compat.h > > index 3f8c0bc..6a6968d 100644 > > --- a/lib/librte_eal/linuxapp/kni/compat.h > > +++ b/lib/librte_eal/linuxapp/kni/compat.h > > @@ -101,6 +101,11 @@ > > =C2=A0 #undef NET_NAME_UNKNOWN > > =C2=A0 #endif > > =C2=A0=C2=A0 > > +#if (defined(RHEL_RELEASE_CODE) && \ > > + (RHEL_RELEASE_CODE >=3D RHEL_RELEASE_VERSION(7, 5))) > > +#define ndo_change_mtu ndo_change_mtu_rh74 > > +#endif > > + > > =C2=A0 #if LINUX_VERSION_CODE >=3D KERNEL_VERSION(4, 11, 0) > > =C2=A0 #define HAVE_SIGNAL_FUNCTIONS_OWN_HEADER > > =C2=A0 #endif > >=20 >=20 > Any chance we pick these patches in stable branches so that > we can build them with RHEL 7.5 without disabling KNI? >=20 > I think it should apply cleanly on all of them, but I can send the > backport patches for each of them if necessary. >=20 > Thanks, > Maxime Sure, I can have a look early next week for 16.11. --=20 Kind regards, Luca Boccassi