From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by dpdk.org (Postfix) with ESMTP id B55752C8 for ; Tue, 20 Jun 2017 13:36:23 +0200 (CEST) Received: by mail-pg0-f65.google.com with SMTP id e187so11919358pgc.3 for ; Tue, 20 Jun 2017 04:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+D+7lpbP3wicUByFVNambWnW5Z4H729X72NbZp2TSDs=; b=zIVVbMt807R6v0AzaEZcn6p2hw0GRifxFwQeqTlW8KCrHTKtbTnpxijG4HGWMxgIMR 9f4nnPrxJlij0+aF5bF9Rf9lYytxZRhC65uzy5zifzaoUWRPXJx4R+yZzfn/o8G/ycE9 2GzhfEH4pPUNt4Ra+k9I6Z1E4I59Ov+9b3Wjbbjp6yTazTUQUOGgShTGJaiSZHVUGyUA mOew67KulDkPdY3bVCvxXj8vD4jV9dZMVCuZZXOsYVkhQ63vQzVKZBqPFVTYrXH8IKGT vQT7pVVR77m4rOrzdc8WVt3tU7rBaGD4bKweV9cX7v60NqnLuvAJ6DBHzoGpRlAolWll 4rww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+D+7lpbP3wicUByFVNambWnW5Z4H729X72NbZp2TSDs=; b=tR0prIffWJKCAOmsuKJekfK4gIN+cQ8CtTXYN/Ezl1QdJ0v7bGGmRZynCOS2AFT1jc Q910jhOUr4+fPMMDg/jPMV7pg2hipsgAJdLorwee5lKXHyh0DtTOKtjuIi5Mxv+B3UXx huws8LQTxMCp0gGLHAyTgwl/xj2WJEN243Y+u+Tj3hyknxxuSrbPhJal5G+um8sSeW9b o07FYG9oy1pNiIVk8/i1JzfO0e+QcxTG1NWMI/nk5NvOpg6cBLJ3zXyXrs0y75pDrr/K um/ykmF3iCV/lf8otxK+nON/RyF3TvhNcS61LP6fWDUCl92sYHa3aVgmLEvhWkwBXju6 OLRw== X-Gm-Message-State: AKS2vOxbtblOz2t9lIkJgSXN92VB1+7K+sh7WxpPUrTO/fqg4lleY+VK sbT5q4HwJPLPoenE X-Received: by 10.98.100.8 with SMTP id y8mr29749106pfb.79.1497958583055; Tue, 20 Jun 2017 04:36:23 -0700 (PDT) Received: from yliu-home.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 25sm6104783pfj.59.2017.06.20.04.36.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:36:22 -0700 (PDT) From: Yuanhan Liu To: Lee Roberts Cc: Ferruh Yigit , dpdk stable Date: Tue, 20 Jun 2017 19:35:14 +0800 Message-Id: <1497958550-13600-2-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> References: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'kni: fix build on RHEL 7.4' has been queued to stable release 17.05.1 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: Tue, 20 Jun 2017 11:36:24 -0000 Hi, FYI, your patch has been queued to stable release 17.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/22/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 13a2ce5ef1ac69cd2acd5325d5115299738176cc Mon Sep 17 00:00:00 2001 From: Lee Roberts Date: Wed, 31 May 2017 09:40:15 -0600 Subject: [PATCH] kni: fix build on RHEL 7.4 [ upstream commit 1e1cabc7a5d8799e55324de01f8eec150d574aef ] Linux: 9b36627acecd ("net: remove dev->trans_start") Signed-off-by: Lee Roberts Acked-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/compat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h index d96275a..6a1587b 100644 --- a/lib/librte_eal/linuxapp/kni/compat.h +++ b/lib/librte_eal/linuxapp/kni/compat.h @@ -53,7 +53,9 @@ #define HAVE_SK_ALLOC_KERN_PARAM #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) || \ + (defined(RHEL_RELEASE_CODE) && \ + RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 4)) #define HAVE_TRANS_START_HELPER #endif -- 2.7.4