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 4B39B6A8B for ; Tue, 30 Sep 2014 19:10:11 +0200 (CEST) Received: by mail-wi0-f175.google.com with SMTP id d1so3975165wiv.14 for ; Tue, 30 Sep 2014 10:16:52 -0700 (PDT) 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=LXU5w2m8f0Gji99XToY/SKxCrxqYYIQAmDBTAYTETWY=; b=eSU9t1ZbA7UWbNbH0FfWIQJDnSw+UHaoQeXNToQzxFN+VQGDRgrIodJeg6vb01SYCS naAPHGrOulxCTBSIMR68D0xZMa/KYV144O+/oAcUS9C3QKSkUGU4ocbZiZ86QoOjnA4o NDtcdbijB7xdPXPRkVhTPHIiHoiYCAsFFExE+x79BxVXWk0NeNxZtpBLi4JCljr+uZJd NYOlRe031N6l3xb6nNCYnoemi2Uvpa9l6Ts3lzGhkrEFO0dl0TCKojzqUIp3eXLHmMXn GBIZHldrXgdzaEJLD2oPhB2PhMUapm+dxpo1IiAdji83h+lwHi2wcRutQoXdsC4DvLpZ 3jug== X-Gm-Message-State: ALoCoQn3iyV9uShcqZ9rn6Om1unYH/TGxddgBArvWSRGlQfQnSHdeaQcwHQ34VHrIW22OytZut4C X-Received: by 10.180.97.98 with SMTP id dz2mr7519157wib.26.1412097412693; Tue, 30 Sep 2014 10:16:52 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id hk8sm15805102wib.18.2014.09.30.10.16.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Sep 2014 10:16:51 -0700 (PDT) From: Thomas Monjalon To: Daniel Mrzyglod Date: Tue, 30 Sep 2014 19:16:40 +0200 Message-ID: <3652442.SkzEYP7xAR@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1412079025-22840-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1412079025-22840-1-git-send-email-danielx.t.mrzyglod@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] kni:fix build on Ubuntu 12.04.5 with current HWE 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, 30 Sep 2014 17:10:11 -0000 2014-09-30 13:10, Daniel Mrzyglod: > Recent Ubuntu 12.04.5 LTS is shipped with 3.13.0-36.63 as the only supported kernel. > > Patch a09b359daca3d8af43dc22a57b34cf317f958236 describe the problem. > > Signed-off-by: Daniel Mrzyglod > #if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) ) > #if (!(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7,0))) > -#if (!(UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(14,4) && UBUNTU_KERNEL_CODE >= UBUNTU_KERNEL_VERSION(3,13,0,30,54))) > +#if (!((UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(14,4) \ > +|| UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(12,4)) && UBUNTU_KERNEL_CODE >= UBUNTU_KERNEL_VERSION(3,13,0,30,54))) > #ifdef NETIF_F_RXHASH Reordered the conditions and applied. Thanks -- Thomas