From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 494DEA0526; Thu, 9 Jul 2020 06:49:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 71AFC1DA6A; Thu, 9 Jul 2020 06:49:22 +0200 (CEST) Received: from mail-il1-f194.google.com (mail-il1-f194.google.com [209.85.166.194]) by dpdk.org (Postfix) with ESMTP id A9D431DA5F for ; Thu, 9 Jul 2020 06:49:20 +0200 (CEST) Received: by mail-il1-f194.google.com with SMTP id k6so939270ili.6 for ; Wed, 08 Jul 2020 21:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=840RE9RmhRbmsWzD267h5G3vb9aCHbxXGMizbVCnXZ0=; b=JTnJGUPrNVv4wGtZp/uofiZ+gXsw5WALPVXCdueGIdfzgvwWI+BOHA/O+aNgVEoxNI zogS5Gn2rZww5Tsy4XcpiuoESrxcpuammVF65Po5pzz/LpsgTQP/7iodmA8LK/kaCOmD fFdR8TC8uVXcd9+bpd6NV8uineznWe364Bd+psEYQcCs5DO2YBAzVZ6F9QisxxDn7T7T IbxQJPl2jTZjvT8nmGD44UqNR66OEF8tJ8/R6uxBGEUsNvIeBGNQX9ClJL0KdnIfko2y s8uhMzJQox2BLBFVLQx9s/izUTie3C5o4LWgUzRulnwKUNw6UfyaYAQ/JNuDxAsbTegh jekw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=840RE9RmhRbmsWzD267h5G3vb9aCHbxXGMizbVCnXZ0=; b=olkIRH697KmHSF2BdCmjjezXv4/5+jU/mmPEnxZO2ChzOvNgHW0AP9U471RQ50TPLw pIId6NeuI/7VP7IoWj69bu4jHsGdji0Aoc1CE+g2bXAACfh/Wywg1kTA7SDBivslWBq+ mQnbWgdqAKPEJTD6GM3pRW2DbMLJDGl7RUQGS+cNS3fni6WWigTMOb/t6rMFEsrv1qN2 Q1IsIHLFQ0nuFMwBjeLL+E7q0dtfLWOIIjdlHx1Vcl3pIS8l9kF18B8PCByN+h6+8H42 0Gi7nG1BlPMVCsB3vi3LtmcHDxkaAwaDshijYoJda4Qw7xmzYjGGDOsR+fUyWow7yf3k KPDw== X-Gm-Message-State: AOAM533zn2KAsnrotmjfGio3zcl1pn9a9+CxtBJLnMc0AFTTCKkxj9UW VcCTznnhV+Iu99Ws/nBM4r8HqQQUiJfR7s5tB0Q= X-Google-Smtp-Source: ABdhPJxOe09JMi8PQr3CVyxvh9z5NMqwn6Q97hIN3ZBHegAKrFBKWnWb3dP/VPCVMU8CQIzd0VpWxIw/M613uZXjvc8= X-Received: by 2002:a05:6e02:eb3:: with SMTP id u19mr46520190ilj.130.1594270159978; Wed, 08 Jul 2020 21:49:19 -0700 (PDT) MIME-Version: 1.0 References: <1588155872-13032-1-git-send-email-juraj.linkes@pantheon.tech> <1594024094-15515-1-git-send-email-juraj.linkes@pantheon.tech> <1594024094-15515-3-git-send-email-juraj.linkes@pantheon.tech> In-Reply-To: From: Jerin Jacob Date: Thu, 9 Jul 2020 10:19:04 +0530 Message-ID: To: Honnappa Nagarahalli Cc: =?UTF-8?Q?Juraj_Linke=C5=A1?= , "Richardson, Bruce" , Aaron Conole , Michael Santana , dpdk-dev , nd , Phil Yang , Ruifeng Wang , Jan Viktorin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v5 2/4] build: add arm32 meson build flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jul 9, 2020 at 2:25 AM Honnappa Nagarahalli wrote: > > > > > > > > > > > Subject: Re: [dpdk-dev] [PATCH v5 2/4] build: add arm32 meson build > > > > flags > > > > > > > > On Mon, Jul 6, 2020 at 1:59 PM Juraj Linke=C5=A1 > > > > > > > > wrote: > > > > > > > > > > Base the flags on config/defconfig_arm-armv7a-linuxapp-gcc. > > > > > Omit driver flags which can be built on arm32. > > > > > > > > > > Signed-off-by: Juraj Linke=C5=A1 > > > > > > > > Hi Juraj, > > > > > > > > Not strictly specific to this patch. Just to understand, How armv7 > > > > support has been used? > > > I do not know how armv7 support is being used. I have not heard of > > anything so far. > > > > > > In this patch arm32 is actually referring to aarch32. > > > > > > > - Is it for Running arm32 program on arm64 machines? > > > I am not sure if anyone would run armv7 binaries on arm64 machines. I > > would think they will at least go through a re-compilation (to aarch32)= and > > test phase. > > > > > > > - Is it for Native DPDK support from arm32. If so, What kind of PMD > > > > supports native arm32 DPDK? > > > Yes, this is for DPDK on aarch32 support. We do not have any plans to > > enable any PMD for aarch32. The current goal is to make sure that the c= ode > > compiles for aarch32. Internally, we have validated few test cases for = the > > libraries. > > > > One thing is lack of PMD support and other is lack PCI HW support for > > armv7 machines in general. > > > > > > > > > > > > > > > Or some other use case? > > > > > > > > I would like to understand the arm32 use case, so we can review it > > > > at that angle. > > > > > > I believe armv7a compilation is not supported in meson. Do you have a= ny > > thoughts? Do you plan to maintain the support for armv7a? > > > > Armv7 is maintained by: > > ARM v7 > > M: Jan Viktorin > > M: Ruifeng Wang > > F: lib/librte_eal/arm/ > > > > My only concern is if there is no REAL use case for armv7 in DPDK, May = it is > > not worth to add a lot of code and make it complicated for arm64. > > At a minimum, If we are planning to add armv7 support then please split > > config/arm/meson.build file as two for arm64 and armv7. > If no one objects, may be we should skip armv7. > But, we need to do aarch32 for compilation/unit tests for libraries as pl= atforms (N1 based) exist with aarch32+PCI. We can skip the PMD support righ= t now. Is that ok? aarch32 is fine as they may be some legacy 32bit application that can run on N1. If no one objects, we should remove armv7 and it's not been actively maintained as well.