From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2F34A42D8F; Thu, 29 Jun 2023 18:54:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01F8140EDB; Thu, 29 Jun 2023 18:54:22 +0200 (CEST) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mails.dpdk.org (Postfix) with ESMTP id 5256E406B7 for ; Thu, 29 Jun 2023 18:54:20 +0200 (CEST) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-341cb9528f5so3820185ab.1 for ; Thu, 29 Jun 2023 09:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688057659; x=1690649659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=fVxgqqV8VMfTTMuMZ01iOW8Y+M6dtwgFBAY10910nTY=; b=b+lVlZw7nN8fFig6tmqkhWvTfwl/0CYz3UWYqaY7eodMliw+tAOwYyubVZ7Wp0k/4G DE9IjB9Mk8Nr+KpqwXwVhCDab7DHWeN6UghHAoHir/RMcNpBHVU8ZsjD4O3JLFq9WdDL upwxQaBIXuZdh1a4OkAqOy0MLhM0EfaoYJpFEzAkDLIP8HE9sZV0b9SkYrS++e+wUtJz baDpPDaD4RZajnBdi3to6dThyMQSZ9YNsHu7GgqCGYvvNqshnMdzaFKatiM/0N84sAJ1 Ccf5DxCnh83R+QoSUrNzPgv4n4s8qI05dZFZD5gOh/8VUDJ/lBJkgYKyvvAdISKzNPaL IVcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688057659; x=1690649659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fVxgqqV8VMfTTMuMZ01iOW8Y+M6dtwgFBAY10910nTY=; b=J6LOWNJYe0AzS3VqL92E4X/hOIhow/8fbo/j7Erb6hvqCEkcXh014PKJsm6FaPqgBq MwoeOTBq3AJD9AwnoHLHIfLCztEvnaACX/Dd0/z4i6JdYdT0wAZWvkxpdrX6H0N3tYj9 o0j7Ne39ka76e+99Y50ihzYggREJ6m2sfahBo6ergl0HgDxu5q/WNGAgeQpSNhhZhYlM Hq4TCu0lVITjfKyMRN7sUgZhYo8J7mv+SU6EZkdQwrwrE23CzLQV60crJZ2IlHmQEtwa tS3PUSsjLUCLQQNBejtt+rDnUmJ7rLP/2X36P1Lvrrw94jQDuwyREMB9pSu/iqWSQIqa 1nBw== X-Gm-Message-State: AC+VfDww/psEby3pL0odjZAfh593rffXcmkmZ9GefGtQE5XUaXLHy1oW 1rQOeQ1mtF5+s+A6k6I8VpIUIg== X-Google-Smtp-Source: ACHHUZ5Oq9aMqmpTarnvw6deE9wLTL761KauBMor0pWqf2rYqsXgebqnbr1zGNHqstHsu5jtXwxxig== X-Received: by 2002:a92:d28b:0:b0:345:a3c6:87bf with SMTP id p11-20020a92d28b000000b00345a3c687bfmr14195408ilp.19.1688057659699; Thu, 29 Jun 2023 09:54:19 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id gz24-20020a17090b0ed800b002591f7ff90csm9377691pjb.43.2023.06.29.09.54.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 09:54:19 -0700 (PDT) Date: Thu, 29 Jun 2023 09:54:17 -0700 From: Stephen Hemminger To: Piotr Kubaj Cc: nicolas.chautru@intel.com, declan.doherty@intel.com, ciara.power@intel.com, beilei.xing@intel.com, haiyue.wang@intel.com, jiawenwu@trustnetic.com, jianwang@trustnetic.com, drc@linux.vnet.ibm.com, dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] ppc64le: fix build with Clang Message-ID: <20230629095417.48668daf@hermes.local> In-Reply-To: <20211014173537.81806-1-pkubaj@FreeBSD.org> References: <20211014173537.81806-1-pkubaj@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 14 Oct 2021 19:35:37 +0200 Piotr Kubaj wrote: > Couple of quite common issues: > 1. In rte_cycles.h, sys/platform/ppc.h and __ppc_get_timebase() are only for glibc. > 2. In include/rte_atomic.h, the same issue already was encountered on arm64: > https://mails.dpdk.org/archives/dev/2019-January/123331.html > 3. In rte_altivec.h, defining vector to __vector is necessary. > 4. In i40e_rxtx_vec_altivec.c, some type changes from vector unsigned long to > vector unsigned int is necessary since clang doesn't support vector unsigned > long very well and deprecated it. > > Signed-off-by: Piotr Kubaj This patch is several years old and DPDK has changed since then. I suspect this patch is either out dated or moot now that DPDK has done a more complete shift to C11 atomics. Could you please either update or resubmit it if still relavant.