From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id 62920C5A0 for ; Sun, 21 Feb 2016 15:18:22 +0100 (CET) Received: by mail-pf0-f172.google.com with SMTP id q63so77891484pfb.0 for ; Sun, 21 Feb 2016 06:18:22 -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=Ks+XgFp4SD3uBMA9m7e9xo13KcB05i3YGMwsyjWbc74=; b=LR4C1Q+MyvPpXGEyyjNpWH1NO5eVYIEZSlvo6lOHuAGxVntsUP6nup8/FJXJLKvGV2 uCrv1ye3bHKf5E1vRz9qZlq25DSTpkBBCxVtdfKTF6XKqh0K3njZg8QCplCPpa9PiKs6 vokv8adn5fU4/PLsh7hYZqnQXFbc0hhWDC51JbKHzuBTsdHYr828VJ1YsgBpEW5OxauY vm9Mx2PnkVy2sDm9bpQHJC7OMLvUAJv5G4F1DhDbdbgGd3T+q9ktX5a5bd1FYFtViEaW DxorzpvUhcioWUGURwiED5hBnysSDJ2l2wihAeL3ms73fFunwMdBZtht9J+diY22lUPQ GFiA== 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=Ks+XgFp4SD3uBMA9m7e9xo13KcB05i3YGMwsyjWbc74=; b=JNHvcHb9Gl0puKxFEQU0WV1v2g7GhoGc4hneu2tu49kgLVEIsTRxu9BN90YExy+il6 pjG+x18enCDLKfrElGJ+bmyfWTntWfhTziajVqIZ3p0UviFmZ1TVGq4jB8ByItOxa+Et VkakRJjKbZVv2twksPaZ/4TP2A/z24USFQ7HO0M8/Ibf6CotgU7aib3k9L320YZ2pX0x 0YoffuWmLa0E57WY0O6+hAsXacuTP0f2LYcMXA8AjPnbocwZrgFAgED7p5ApmJ6wlaJW cAss92iHlK4nNPbD7HsEOJZ3pP7lho4J4LLpdU5m9j0hxNdOryLGEO9CIGN1L3axjCkN fJAQ== X-Gm-Message-State: AG10YORXzIc6KEWTDw3qax3rIGOa6f7x3Ol4sUy38rTMZ/cjP04i6pPvoPMzjpLH9baZhWyQ X-Received: by 10.98.67.92 with SMTP id q89mr31648274pfa.137.1456064301810; Sun, 21 Feb 2016 06:18:21 -0800 (PST) Received: from localhost.localdomain ([106.216.140.39]) by smtp.gmail.com with ESMTPSA id 3sm30255392pfn.59.2016.02.21.06.18.17 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Feb 2016 06:18:20 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Sun, 21 Feb 2016 19:47:59 +0530 Message-Id: <1456064281-4606-2-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1456064281-4606-1-git-send-email-sshukla@mvista.com> References: <1454853068-14621-1-git-send-email-sshukla@mvista.com> <1456064281-4606-1-git-send-email-sshukla@mvista.com> Subject: [dpdk-dev] [PATCH v9 1/3] 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: Sun, 21 Feb 2016 14:18:22 -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 4d3e0de..ceac435 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -716,6 +716,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