From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by dpdk.org (Postfix) with ESMTP id F27EAC760 for ; Fri, 29 Jan 2016 19:23:01 +0100 (CET) Received: by mail-pa0-f54.google.com with SMTP id yy13so45047997pab.3 for ; Fri, 29 Jan 2016 10:23:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=h68NZUu8GBDeZa+HBWbxxB7l2rnyIUznmNppD7QtjtA=; b=1A+JYFWMdcnypfzzZceDKBYsUmVIhzyv+qXEbqeNPtklqc1IErIvZDmfijo79VptFQ EQsC4Ra5ldIiSQXiR/ud2TiK1fVZBbeQBGeC/+ojQuK+A5zxxeD6sNioxd6BxakMoaL+ sr89EsSJu6d62yzoJ2J97qcvJs825ad41P5pdEM4jYlewQbEfmMGVale6L9bM9t9/CvY O8o9V6fARcG6vmkic3UaRisDzlifn99lFfx0cPqqyATV59Xt2BveqQ8s8VEVv9VGtQqJ T1DSBtzoM4w/aBGLwyZwvUsQ1vk4SCrPLttBsaJ3ydsSaUKURhbAipKbk7bQCMpjy5hc vofQ== 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:in-reply-to :references; bh=h68NZUu8GBDeZa+HBWbxxB7l2rnyIUznmNppD7QtjtA=; b=ON1r3jKg+1qHk7+tb0I3KWK05/LvuznVdp1eBpTXt7sl9ln3Hw31EsJZI3ZrqsD7Y0 +IRQwNp3sbIhLAysj6ckavRaWEr7++zOopLGxy342waT41C4RzxEOfAgrhUA6L/nbK67 oeV4wnY931hIyTpOdMMekgsY0Pb1n0lHVYlSw6b6ASoJhq4FcvaMiu+NDnNHEQFSIxjy qLOFuMJ4nt3e1K/2GaFg6zo1qICHyiR7y2CZQFaKE5deGO0VaNdx+wA3daePi/S9RlXd xj8eykO92iX40U31bckPJ3Ypoj+6rJzBUn+QLeClzcxj3rzQpuk21hxIuILyMMuK9TFO 58Hg== X-Gm-Message-State: AG10YOTooSF+E27c4UutqdVioMFo/xhQMANwZ0JMDIHhO/g4Vnb3S4AYU1X988HTGp0DCiAI X-Received: by 10.67.6.1 with SMTP id cq1mr15405580pad.78.1454091781395; Fri, 29 Jan 2016 10:23:01 -0800 (PST) Received: from santosh-Latitude-E5530-non-vPro.mvista.com ([106.51.29.23]) by smtp.gmail.com with ESMTPSA id 85sm11161750pfl.18.2016.01.29.10.22.51 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jan 2016 10:23:00 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Fri, 29 Jan 2016 23:51:52 +0530 Message-Id: <1454091717-32251-3-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1454091717-32251-1-git-send-email-sshukla@mvista.com> References: <0000-cover-letter.patch> <1454091717-32251-1-git-send-email-sshukla@mvista.com> Subject: [dpdk-dev] [PATCH v6 3/8] eal/linux: never check iopl for arm 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: Fri, 29 Jan 2016 18:23:03 -0000 iopl() syscall not supported in linux-arm/arm64 so always return 0 value. Signed-off-by: Santosh Shukla Suggested-by: Stephen Hemminger Acked-by: Jan Viktorin Acked-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 635ec36..a2a3485 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -715,6 +715,8 @@ rte_eal_iopl_init(void) if (iopl(3) != 0) return -1; return 0; +#elif defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) + return 0; /* iopl syscall not supported for ARM/ARM64 */ #else return -1; #endif -- 1.7.9.5