From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs Date: Wed, 02 Dec 2015 17:57:10 +0100 Message-ID: <2257776.TI734NhvVv@xps13> References: <1448995276-9599-1-git-send-email-jianbo.liu@linaro.org> <2275492.7Tn0tJ2v06@xps13> <20151202165302.GA2452@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jerin Jacob Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 1F4D9231C for ; Wed, 2 Dec 2015 17:58:20 +0100 (CET) Received: by wmec201 with SMTP id c201so263002866wme.0 for ; Wed, 02 Dec 2015 08:58:20 -0800 (PST) In-Reply-To: <20151202165302.GA2452@localhost.localdomain> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-02 22:23, Jerin Jacob: > On Wed, Dec 02, 2015 at 05:40:13PM +0100, Thomas Monjalon wrote: > > 2015-12-02 20:04, Jerin Jacob: > > > On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > > > > On 2 December 2015 at 18:39, Jerin Jacob wrote: > > > > > AND they include "rte_lpm.h"(it internally includes rte_vect.h) > > > > > that lead to multiple definition and its not good. > > > > > > > > > But you will have similar issue since "typedef int32x4_t __m128i" > > > > appears in both your patch and this header file. > > > > > > I just tested it, it won't break, back to back "typedef int32x4_t __m128i" > > > is fine(unlike inline function). > > > > > > my intention to keep __m128i "as is" because changing the __m128i to rte_??? > > > something would break the ABI. > > > > Isn't it already broken in 2.2? > > Does it mean, You would like to have rte_128i(or similar) kind of > abstraction to represent 128bit SIMD variable in DPDK? If you are convinced that it is the best way to write a generic code, yes. I think the most important question is to know what is the best solution for performance and maintainability. The API/ABI questions will be considered after. Thanks for your involvement guys.