From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 5681B8E83 for ; Tue, 24 Nov 2015 21:37:51 +0100 (CET) Received: by wmuu63 with SMTP id u63so112631184wmu.0 for ; Tue, 24 Nov 2015 12:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=DAdciPZpfM8DXIG22AMM3fWI7qICJbzUH9bd6551mbo=; b=lu9HPX2EAfeTaGd4hNEOQw3foHrpcv+3jw1eXpctWgBqBNx2XBnTHT3XvX4dkEmURU WepBAkMIZe0qyBE00uL1e08sPFoXWS6bJDqarJ2zNEjUvYHYblxNFaaLk5giXig4oSWW f0je76MUxVacbXdhm7Xqpggiwk0N/XBXeRqpbFOj5vM2IpMjiX0bIg1lwGiyDlhKMjfe CAoqMi7imw3pbng3iUAGgs+mCvMiqp9EHGBTigmKBm3zgyWHugX9jxFPnMt3/77+qQZz DBPcaiZSJro8ZhldbHkY/YgKAz33s7o+Yk5/ayPGTI/Y2g8q/aXC+d70A3sRiBPkx2Ew QFYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=DAdciPZpfM8DXIG22AMM3fWI7qICJbzUH9bd6551mbo=; b=VDCzDWzJg3tOcYHx6tSropsvKahgCH2H+HryUYd2ol7rYyKxADtFkwj5AVgB8xekHo xvEyhHpKsJ/Q6U5adO7CMhcjPzBb0j4kIDdIm2CATMqsGMnUn9r8Y/oOMNvyFtWRn3IB v4JdLELlCEq+uGkcpEK+2eTO/wI2lfHFdQUzbFhiA/lMlGCQF85kTALEm3XtKWBSd7AV HBTJ6TXk8+XyPWyoL6AKChlIRNrTfXDk9cXhZNXT+5bGGJHNG53mW/M38A+QLUipdGS8 871PmBz71laXzj90rOqOtRHwDpd3uLVkYvO4NO4yWcSW5yIkC0R2MVKTJMR5CtpnTnNV l3oA== X-Gm-Message-State: ALoCoQm5hC9sb+u3E9o3irBzm/L8vo5fH5wqLYx2dKOVxBoLrVQPd4qU4cIAnm3N637x2o4VUcgR X-Received: by 10.194.185.132 with SMTP id fc4mr1031264wjc.55.1448397471156; Tue, 24 Nov 2015 12:37:51 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id q77sm279309wmd.22.2015.11.24.12.37.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Nov 2015 12:37:50 -0800 (PST) From: Thomas Monjalon To: Pablo de Lara Date: Tue, 24 Nov 2015 21:36:33 +0100 Message-ID: <4010980.uDg8NWFa2X@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1448384381-203269-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1448384381-203269-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] kni: fix compile issue on Ubuntu 12.04 with kernel 3.13.0-30 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 20:37:51 -0000 2015-11-24 16:59, Pablo de Lara: > Fixes following error when Ubuntu 12.04 uses kernel 3.13.0-30-generic= , > since skb_set_hash() is implemented in the kernel from 3.13.0-30, > which is declared as UBUNTU_KERNEL_VERSION(3,13,0,30,0) and not > UBUNTU_KERNEL_VERSION(3,13,0,30,54) >=20 > In file included > from /usr/src/linux-headers-3.13.0-30-generic/include/linux/if_ether.= h:23:0, > from /tmp/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h:= 39, > from /tmp/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31,= > from /tmp/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31= , > from /tmp/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_mbx.h:31= , > from /tmp/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxa= pp/kni/e1000_mbx.c:28: > /usr/src/linux-headers-3.13.0-30-generic/include/linux/skbuff.h:740:1= : > note: previous definition of =E2=80=98skb_set_hash=E2=80=99 was here > skb_set_hash(struct sk_buff *skb, __u32 hash, enum pkt_hash_types ty= pe) > ^ >=20 > Fixes: e88c3b0a ("kni: fix build on Ubuntu 12.04.5") >=20 > Signed-off-by: Pablo de Lara Applied, thanks