From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] kni: fix build on SLE12 SP3 Date: Mon, 4 Sep 2017 10:47:11 +0100 Message-ID: <92fdedff-cded-1ca9-0ea7-c2e8ae7a3752@intel.com> References: <20170829150613.10597-1-ndas@suse.de> <20170829081252.562f9313@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Stephen Hemminger , Nirmoy Das Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id CE3677CD2 for ; Mon, 4 Sep 2017 11:47:14 +0200 (CEST) In-Reply-To: <20170829081252.562f9313@xeon-e3> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 8/29/2017 4:12 PM, Stephen Hemminger wrote: > On Tue, 29 Aug 2017 17:06:13 +0200 > Nirmoy Das wrote: > >> compilation error: >> build/lib/librte_eal/linuxapp/kni/kni_net.c:215:5: error: >> ‘struct net_device’ has no member named ‘trans_start’ >> dev->trans_start = jiffies; >> >> Signed-off-by: Nirmoy Das <...> > Sigh. KNI needs to get upstream, or we need to leave RHEL and SLES > version magic to the distros to manage as their own patches. > > This kind of spaghetti of ifdef's is unmanageable, untestable, and > just plain ugly. I agree with above comment, meanwhile I believe we need to support this as long as maintained in DPDK.