From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id D7528805E for ; Wed, 17 Dec 2014 11:09:31 +0100 (CET) Received: by mail-wi0-f175.google.com with SMTP id l15so15147572wiw.2 for ; Wed, 17 Dec 2014 02:09:31 -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=unDpMRwMSxrD/qYdNnvObnjksCfW3EWv7fru7klbtIg=; b=DENkQqx6Te3Afkt2XWF/r85XvajN/v95DXfuEsV1xWqIl8lmH8FFGlZra1BG7HcDhS KPdJklELW/9yk/JSrsvH65A5PoNhXlyvj7vVdAxqCnZDXpILL2td2FV0oKSY6ZtaxMTv r/IFnMhVARB1pwG82L96Pem+GO1v1s1L2v1EJX1YWLv0ckL4X8WYArXvrn2Qmh962nOi PGBMKhh9UsZmPnndWzvi14XYN1ltAw/zQnq5k+QpWoIm5d8JBN8v3MZbB06S1RaIwPYn +TPsrv7LBk8exEJHrI9WvTO6LZmO1WnaSKhM1mjecq0A9v0kE/Bv6xiLkmO4iWqLfzjh U9pQ== X-Gm-Message-State: ALoCoQkAZsOXfJWOsglAfljtZbghMaaa6EeWWa/ZXJLui9v93wk0TY3XSx1B3OTiPkGLbFRz1Ocm X-Received: by 10.180.76.201 with SMTP id m9mr12756123wiw.52.1418810971654; Wed, 17 Dec 2014 02:09:31 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id h2sm5505409wix.5.2014.12.17.02.09.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Dec 2014 02:09:31 -0800 (PST) From: Thomas Monjalon To: Jincheng Miao Date: Wed, 17 Dec 2014 11:09:06 +0100 Message-ID: <2147099.zBhO5aAXgM@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Barak Enat 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: Wed, 17 Dec 2014 10:09:32 -0000 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 :) Thanks -- Thomas