From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 1ECEA7F48 for ; Thu, 18 Dec 2014 23:05:54 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id l2so2842661wgh.13 for ; Thu, 18 Dec 2014 14:05:54 -0800 (PST) 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=+h6k0FgV7U6sw1rx1QL8tDnx2ZmAYLmHsjIeCScBafM=; b=ET9o/cvhpLJDljeeC8nkJyvOsJrWb4KKc85yQ+5i/vDco5xycoS4F9k40X+tdpHGOE 0ik6fHgssK3JgQxNAyDxYtY7FdlJKhF4c7erU45j7SYlrGNDpZZRGDfozSDQC8GmREjj p2AaOKqnfit48M4vt8XvjkSynE4bD9E6dpIrAE8qU5Y1AJVGZPjtsZoVndEHUmMsCFOv WwPt9+LX5xnfRy4gC7VFvNsrmdHBMeuYzrpe179g+eCorg50Pc4t1UPZR9d4ia4vjZt3 0rQrgAY8rYy4RbFp1p4QBvq7+pKk4qiC0p8F+4vazBROyoWqOlnrvprRApECTUiZu12r euXQ== X-Gm-Message-State: ALoCoQmzxDO3l4YCb7D87B5wnNeCkM7q142IhVIcUKJ6SkttpZ8tZ7pd1ZqMgGRlVrigJ6NhDob7 X-Received: by 10.180.98.162 with SMTP id ej2mr9074647wib.39.1418940353986; Thu, 18 Dec 2014 14:05:53 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id q10sm640396wjx.34.2014.12.18.14.05.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 14:05:53 -0800 (PST) From: Thomas Monjalon To: Barak Enat Date: Thu, 18 Dec 2014 23:05:26 +0100 Message-ID: <3222006.vNrEi6d4FX@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <2147099.zBhO5aAXgM@xps13> References: <2147099.zBhO5aAXgM@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Building 1.7.1 or 1.8.0-rc4 on latest CentOS 6.6 fails 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: Thu, 18 Dec 2014 22:05:54 -0000 2014-12-17 11:09, Thomas Monjalon: > 2014-12-17 14:21, Jincheng Miao: > > On Tue, Dec 16, 2014 at 11:12 PM, Barak Enat wrote: > > > It seems the assumption that skb_set_hash is missing in CentOS prior to > > > version 7 is not valid anymore. > > > > Yes, you are right, this function skb_set_hash is added from Cent 6.6, > > so some macro should be changed like this: > > > [...] > > #if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) ) > > -#if (!(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7,0))) > > +#if (!(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,6))) > > #if (!(UBUNTU_KERNEL_CODE >= UBUNTU_KERNEL_VERSION(3,13,0,30,54) \ > > && (UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(12,4) \ > > || UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(14,4)))) > > A patch would be appreciate :) Should be fixed now: http://dpdk.org/browse/dpdk/commit/?id=a8aac461cbdb -- Thomas