From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id A24E87EEF for ; Sun, 7 Feb 2016 14:51:23 +0100 (CET) Received: by mail-pf0-f171.google.com with SMTP id c10so28747294pfc.2 for ; Sun, 07 Feb 2016 05:51:23 -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=l7zcHNee2DFlWQmKT6XwfEx9mKUGYy8Nkg6+SHfFwDpq14R1ghdOAaIJSMQMZRsj1o 4hngZvpFtt7Pdzdxqaq8GuorfdLrwuoEsvzZWYpan0VNtR5IniEOaC8conzNw5kQ+ccp N7naP/OKYSUj4DX4x9e4VMc0cNhkCUyYtnh7dpdGuKLF+UCohbSpAvzDuya+P+M71q2a WvYMDMlWum7Ac7zR/bpwlKexYKLZATB49tXbanam6Z/guse/tMfchVwfr+0t/tJ4w3VZ zFva1bHXnWiQA8sWeolHbW9amTP3Tt3pXXJE0oG8us5dwGFEfw0EjEA2hqLJj0trTr3G sPfw== 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=MWUATkhSRWkbNDPPqQ0pBpEoO222KNykaIXIW8hqamO8CDJC/mG3ga5atxGwnvwD49 Yi8jKQBZ9DlnwbBz6fAPlRG7Dpedg8VmsGg4uWI5iVD8VuKBat74x99rOUJ/EEQFaDqX 03NgoHKw2qLcYm8XdhpZkwT7adLEhxBFaPAa6wemg5scL/3mUUD/2G+EDExCjBiq7E65 rozXpPELaO9eAHOjqbp/nSCyq5kddoJRCEMl9ks/xLKdNW5xhMCgeXd5N3M2P7UDv2aQ 9t292/RH7P4v6z3J81kASEqQancXCEshkoyN+mNBWGRzkyZoUBKsS7KhzyQC0KgI3Tj0 NmRQ== X-Gm-Message-State: AG10YORdPs71Tyd3Y/CyNwiD2dB8qVZ1xb/VYHddVGbuxewdESiqS6svZAWHXGDmyADL3z5c X-Received: by 10.98.89.139 with SMTP id k11mr35032370pfj.56.1454853083085; Sun, 07 Feb 2016 05:51:23 -0800 (PST) Received: from santosh-Latitude-E5530-non-vPro.mvista.com ([106.216.141.181]) by smtp.gmail.com with ESMTPSA id r87sm36763174pfa.61.2016.02.07.05.51.19 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 07 Feb 2016 05:51:22 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Sun, 7 Feb 2016 19:21:05 +0530 Message-Id: <1454853068-14621-2-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1454853068-14621-1-git-send-email-sshukla@mvista.com> References: <1454853068-14621-1-git-send-email-sshukla@mvista.com> Subject: [dpdk-dev] [PATCH v7 1/4] 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, 07 Feb 2016 13:51:23 -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