From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id DBE1FC11C for ; Thu, 18 Feb 2016 06:26:56 +0100 (CET) Received: by mail-pa0-f49.google.com with SMTP id ho8so24922106pac.2 for ; Wed, 17 Feb 2016 21:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IoZm78zBEyc4pVGx+UtOtzSsZKDMMZ6lz2qjtqpNd8M=; b=voStlqVYyGM4cVkpGiz3QfwYaZ7H3b491wWZcS06h1sxSuSITfwVuROzFkev2zH4GG 29aPab+haDKmv9b4s9FTxY12fZ2innyk4Si0HIZZIzq8HqK4QGHV3PmwnkoRpQD9Bky1 TAq0431FXfpd+UjjWqs5yAmB2rKs1anUC5O0Sl9mRp1yuh+ehZwsJOQ9pVIvjuAvxs7z 1HHE9KSdurrrLfx4ZnhZS584WWRbiE1qMvR1gPkIxmMb6eKjAdO/BwekB/LBaIKlE/RW 4uDwSU99Pr/GoqHuQvoOW+IdLEAzk86Nrz5eUan9sAUp74Nb9MHPIoZXQr+MEtq7jKd2 rMgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IoZm78zBEyc4pVGx+UtOtzSsZKDMMZ6lz2qjtqpNd8M=; b=Z2hROveOrTwzRHnN+er3tbF7HEVKe3KyY3ShNOn9G+IBuGm2k2Y0KQVDEEtgAUujE+ W+mOtZQ+S9vEj0uaHUPIqUIOgRs/4w1erYOgn0x709IyIVQj4/oWfcKLznspcSZsTFmY rIhAb2+vVuLKKUHE9AXI4j13xWZJnOG3bL8yILVQfqrmg/oeZhqC3uC7Csa3qocf60GT M0xjlwpsJGSWtucD9hB9LGUzAKRfpLQFIl7gke5o+I0WNplZFUE+pus4vfFPIupXho3K ZqzdSYj2NoFFTU35k0J9mxeey8K2alzdWz8oh5DEi/OArYO6App/SSzDXL9Fbkqo2u6p 7MCQ== X-Gm-Message-State: AG10YOR6FyHjwzCbDCE5f7si5bZ/mPxjwQCxjuRAy1mZFdCMVKT68svkg8+QJBGJZehqrhAWG3NfvVvnaYDRMF6M MIME-Version: 1.0 X-Received: by 10.66.185.227 with SMTP id ff3mr3517379pac.117.1455773216310; Wed, 17 Feb 2016 21:26:56 -0800 (PST) Received: by 10.66.12.132 with HTTP; Wed, 17 Feb 2016 21:26:56 -0800 (PST) In-Reply-To: <1454853068-14621-2-git-send-email-sshukla@mvista.com> References: <1454853068-14621-1-git-send-email-sshukla@mvista.com> <1454853068-14621-2-git-send-email-sshukla@mvista.com> Date: Thu, 18 Feb 2016 10:56:56 +0530 Message-ID: From: Santosh Shukla To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [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: Thu, 18 Feb 2016 05:26:57 -0000 On Sun, Feb 7, 2016 at 7:21 PM, Santosh Shukla wrote: > 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 > Pl. merge this one too. Thanks