From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91C1FA04DD; Sun, 19 Jan 2020 23:43:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1403928F3; Sun, 19 Jan 2020 23:43:00 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 1C7BD1BE0; Sun, 19 Jan 2020 23:42:59 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id F398D440; Sun, 19 Jan 2020 17:42:57 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 19 Jan 2020 17:42:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=MdWYvtStahq7reRdCUfoLHiNCyXyN5N1+wbIaG41JeI=; b=ZwLRMUv8n5xX /vNpTC5jVy6N+ZZgrLHmI3k/Mcb79rwgfoigATq+OrciHOmAy5Xfc/c3iRUGfIkQ uCiAF2u0tVElFQRA4OL3HdXwlRZoLZEhh/UqnYGnpbgpheOFt/you8qyxkJst66M MPtfVTHIx9XkQmm+OFV6wAwZRCF/+EU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=MdWYvtStahq7reRdCUfoLHiNCyXyN5N1+wbIaG41J eI=; b=jStMpd7eV5jg9U6UMROBWCosCCN0f81nt6pUpda6ffDh7BW7AKNzx4esR 1MnSJoA/qKTnqE6+c7P+SrGJ8oDbyjWBbMCxZeMVN5c7mL11nAEDb1m4RbfSnLiw ewA6YKTrtRd5HAAqS86tB2sMi0FomRIGDF7b2sM8FNok9e1Hkz4cv4j2jQu+CJ6f tLvtcLWNQCs/ulgXfkDFAMgpbMdeMzjejrjtZns7qwSuhEcf0z6W3yENlfRZJtwG gJTpyB7UEHWsody9cTk0Fyv/O1NdpyDLv2xb++YLXQyxE+/xSSZNXesPGDg1tcZS ksOD8NVRLQKugUvPxWCg5jAZNiGSA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudegucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh ephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgrshcuofho nhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejje drudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghs sehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E33118005B; Sun, 19 Jan 2020 17:42:56 -0500 (EST) From: Thomas Monjalon To: Ali Alnubani Cc: "dev@dpdk.org" , "vattunuru@marvell.com" , "stable@dpdk.org" Date: Sun, 19 Jan 2020 23:42:55 +0100 Message-ID: <21060706.5W6oEpyPa8@xps> In-Reply-To: <20191211182522.8163-1-alialnu@mellanox.com> References: <20191211182522.8163-1-alialnu@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 11/12/2019 19:25, Ali Alnubani: > The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO > is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are > therefore undefined, causing the build failure: >=20 > lib/librte_eal/linux/eal/eal.c: In function =E2=80=98rte_eal_init=E2=80= =99: > lib/librte_eal/linux/eal/eal.c:1076:32: error: "LINUX_VERSION_CODE" is > not defined, evaluates to 0 [-Werror=3Dundef] >=20 > Fixes: a0dede62a537 ("eal/linux: remove KNI restriction on IOVA") > Cc: vattunuru@marvell.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Ali Alnubani Applied, thanks