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 AB5A02951 for ; Sun, 22 Apr 2018 17:10:20 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2914C20E8C; Sun, 22 Apr 2018 11:10:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 22 Apr 2018 11:10:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=sgcGg0AHd/0U8P2hg 8YOnM+YCF5yZHRI1nALRfRJh2I=; b=FKKgeqsesUs6joaizB/9TiXy8hPvWnuOa 09A/urm/1jnmHHepcSeqJmqxE4XlICNpEQ8Jrhv2ElkPOnhm4QpoA6ZGL98fNG46 wHR+hs8kgWqas+PRnxQdkjePn1FUXW86OEUeeLkhC3EUFiwa1fjcPsaQqW0c/afv G5Dfxvjm4SVwgigCfiFh1u79mWmlmF47dDJXg3VaEFR/HEi2mxi8hNBnPDZwJ4OS aAbju0Xuw87Bw+k6pcTf7xAobfXjTq0I7IdX83E43eNYmC+GVcwIaYZKqLyK4qkC AKC1M+18nhFDQzdjDIg9u9zwP1iTIr++jhWcgsEuK9CFRFE+Eja1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=sgcGg0AHd/0U8P2hg8YOnM+YCF5yZHRI1nALRfRJh2I=; b=nen0ntix wCEbMjSuAOeJxL9IQAErRYzq+eJw8jYWKna1cnP1SuK+mhvMLyFvQCAecHAN1029 AnK2vrx1nb9wAOocY+XA/4Nvi38+FSF1PRkaiKekXcEouqInK47xNXmhPRYcLRDx 2b/FUmtaEsBY4YwlioaZ91EN1wWGGRk8UQkIh+E3/oMBdheLTgDgG+nny9JHQEIn UijCoK00PATotKvXn1RViuYmhiC68x7X0xAoy5UXF1gt+GzeM43VDBKHz90pfKLb IMiqHeyNc4PBzMjGbwK2aEq8v8iz7YdpH7Noe2IRkLRxb8FwauE+ZU038mloVeBo oSz1XUSEZFjkGA== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DD9310255; Sun, 22 Apr 2018 11:10:17 -0400 (EDT) From: Yuanhan Liu To: Lee Roberts Cc: Ferruh Yigit , dpdk stable Date: Sun, 22 Apr 2018 23:08:53 +0800 Message-Id: <20180422150949.17523-3-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180422150949.17523-1-yliu@fridaylinux.org> References: <20180422150949.17523-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'kni: fix build on RHEL 7.5' has been queued to LTS release 17.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2018 15:10:20 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/29/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 0e1f49f7fb1cfe4283a9c22a641b196a0f37fa5e Mon Sep 17 00:00:00 2001 From: Lee Roberts Date: Thu, 1 Mar 2018 16:20:35 -0700 Subject: [PATCH] kni: fix build on RHEL 7.5 [ upstream commit 37d477b6863e5c06e20be434b559d3a03d89f46a ] Signed-off-by: Lee Roberts Acked-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/compat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h index 3f8c0bc87..6a6968d93 100644 --- a/lib/librte_eal/linuxapp/kni/compat.h +++ b/lib/librte_eal/linuxapp/kni/compat.h @@ -101,6 +101,11 @@ #undef NET_NAME_UNKNOWN #endif +#if (defined(RHEL_RELEASE_CODE) && \ + (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5))) +#define ndo_change_mtu ndo_change_mtu_rh74 +#endif + #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) #define HAVE_SIGNAL_FUNCTIONS_OWN_HEADER #endif -- 2.11.0