From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id ECFFB7E1F for ; Fri, 5 Dec 2014 17:01:32 +0100 (CET) Received: by mail-wi0-f180.google.com with SMTP id n3so1846707wiv.13 for ; Fri, 05 Dec 2014 08:01:32 -0800 (PST) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=5hjYpgP2sajscg3N876Ym0KBlklIk7BjEDc7PXPmBOs=; b=GmslC3LRxqRdAWqpqYBw81rvfYt8RAPVJjKvpWBhBe46UEzQzdQ6kk0sjfMuEuKdMT 6EnMQY2aTSxrcDbBDik+rJDJEcXyYUr1k4KJAF9s9SRfWNkTbq+kOnaR1Yp+KozFosu5 EuQsCLdMtU8fB9GnPUblMRKPbqEff/snAITxYtMLVp5xLTjfj2T3LjVk/4YWkDR/Vot0 gRDFj+sOe9o01tuliTGN1GMrxxxdymJcTfm1x3Yf4fSJmiGd8OFMf5nPHXE17t/BO0Jv wwiXXSkROO/BiDtSaTqabnMgnY4b+vh5I6PsDLJA1GtML/Lt/1XjaeJt5/7OM97YqOgu QIwQ== X-Gm-Message-State: ALoCoQnXlhpm2b5mazWHfgaH+b9EonDCb8INVXTlhYyn8L/BB5Rsdt7fdYuFArAJdmSw3QuHW1Mn X-Received: by 10.180.19.193 with SMTP id h1mr5200270wie.10.1417795292686; Fri, 05 Dec 2014 08:01:32 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id p14sm2808355wie.1.2014.12.05.08.01.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Dec 2014 08:01:32 -0800 (PST) From: Thomas Monjalon To: Chao Zhu Date: Fri, 05 Dec 2014 17:01:07 +0100 Message-ID: <11623035.k7Df5HHuXt@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <54802955.2090104@linux.vnet.ibm.com> References: <283531301.lWbIahXLyM@xps13> <1417639668-23500-1-git-send-email-thomas.monjalon@6wind.com> <54802955.2090104@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 0/2] fix endianness in EAL 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, 05 Dec 2014 16:01:33 -0000 > > It can be hard to implement a reliable detection of endianness. > > Previous trials in testpmd failed. > > The IBM Power patchset introduced a config option. > > > > This patchset try to improve the situation by having a detection > > in EAL headers. > > > > Please test it (especially on IBM Power) with different toolchains > > or distributions. > > > > Thomas Monjalon (2): > > eal: detect endianness > > app/testpmd: fix endianness detection > > > I tested it on IBM Power with GCC 4.8. It works fine. > If there is no other better way to do the detection, I think this patch > is good enough. > > Acked-by: Chao Zhu Applied -- Thomas