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 CC7B0458E9 for ; Mon, 2 Sep 2024 17:50:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C21694042C; Mon, 2 Sep 2024 17:50:08 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 51E4E40150 for ; Mon, 2 Sep 2024 17:50:07 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-7176645e51bso390620b3a.3 for ; Mon, 02 Sep 2024 08:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1725292206; x=1725897006; darn=dpdk.org; 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=CZ3aycPUxIdRboo3EYmO3zDLikYQc95DypTRi10NHL4=; b=T5FAc2gTvtqKrH19fJ8FUbUcz3xBd0dSsSTMXMV14a84Jet5AH1OU1A2a3YPgkT+gQ BHUr/bBpYeKsncA0exwtZSnLZHFN92XLYlkBszEii0L6x2i1/wkoGVhcSB2qVsPZsldN RmSQjQpKTKSBaJTbnbbE822L3ech88A7IqweZMYddR9UrnQ69Nefqp0EBR39Z9ddLfE5 067w55MRm/w7NGwg0ti+7oDfWcuOnx5aO7FduN+t5Xx9SjI2mcWqFfh58S5IpYc2Eq+d wgoh2DQl3zVSBedmUbYXXPRs59VknPL6OoTQGzWe2HqfrvKukRW2xhl8RlCjJSYYQnni YXiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725292206; x=1725897006; 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=CZ3aycPUxIdRboo3EYmO3zDLikYQc95DypTRi10NHL4=; b=K5Gz8JF2c2aIl3rbMrvdz8TXF3gKMXRE4dhuRXCmS2ryzZ6ImcWIPq2ifqALleK+Pr XGWXCDNGq5/wIQjzsBGGKRir/1YTORT6CwUCZy8lbqTnwz0dZBoJWtFO/9+zsUFjCrbT a2jZuJ8iYZcUwp0Y3onuz61n9t+B0uIIBqDEUjHDWhRiFV0tW7kADH9+XBarW9D/h1Ce W2GMegprxK94NrBIPuUKoHXG6kRmec9Cjk6Q674Sl0wFXxfyfWa9Wb59qBFajptCR3fH 6SIewerucLL1DSpKGVIlSiuSh5NQfs57sS5SJlNagaHj361jR+jQkUB3eQ6jaO37NmrX PZfA== X-Forwarded-Encrypted: i=1; AJvYcCVf7BQFreU8pP7tIIKlkd13X1vO2UOjcJaDXz66FsD9nzg1UcGXQhBEo6rr1+0GMNnpJEUu/uE=@dpdk.org X-Gm-Message-State: AOJu0YzaY2e3wL62NP71q4j//HlirOjEIn3Jh8jdUFgfnI8sFQnmk7Fr 9MNrHzpCquppanu9tlYzSeQVFECVuqpFmO6C+KU9Staxff2lbs0ADC1UnQmr9Tg= X-Google-Smtp-Source: AGHT+IHwj1WGPlHgWy0lygizUmkMjor6ZNbuKyOjlkhY/108az11gDq/dzbkKaNmgsWRZvqZXgm9Kw== X-Received: by 2002:a05:6a00:179b:b0:70d:33b3:2d7f with SMTP id d2e1a72fcca58-715dfcf01b5mr19121086b3a.26.1725292206320; Mon, 02 Sep 2024 08:50:06 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7176a7291fdsm48180b3a.66.2024.09.02.08.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 08:50:06 -0700 (PDT) Date: Mon, 2 Sep 2024 08:50:02 -0700 From: Stephen Hemminger To: David Marchand Cc: Kevin Traynor , dpdk stable , Abhinandan Gujjar , Akhil Goyal , Ali Alnubani , Amit Prakash Shukla , Anatoly Burakov , Anoob Joseph , Ashwin Sekhar T K , Bing Zhao , Bruce Richardson , Chengwen Feng , Ciara Loftus , Ciara Power , Conor Walsh , Dariusz Sosnowski , Dengdui Huang , Fabio Pricoco , Ferruh Yigit , Frank Du , Gagandeep Singh , Ganapati Kundapura , Gaoxiang Liu , Gowrishankar Muthukrishnan , Gregory Etelson , Hanumanth Pothula , Harman Kalra , Hemant Agrawal , Honnappa Nagarahalli , Ian Stokes , Jack Bond-Preston , Jerin Jacob , Jiawen Wu , Jiayu Hu , Kai Ji , Kaiwen Deng , Kiran Kumar K , Konstantin Ananyev , Kumara Parameshwaran , Luca Boccassi , =?UTF-8?B?TcOhcmlv?= Kuka , Matan Azrad , Michael Baum , Mingjin Ye , Mohammad Iqbal Ahmad , Morten =?UTF-8?B?QnLDuHJ1cA==?= , Nathan Brown , Nithin Dabilpuram , Ola Liljedahl , Olivier Matz , Ori Kam , Pavan Nikhilesh , Qi Zhang , Rahul Bhansali , Robin Jarry , Rohit Raj , Ruifeng Wang , Selwin Sebastian , Shijith Thotton , Shun Hao , Shuo Li , Srujana Challa , Steve Yang , Suanming Mou , Sunil Kumar Kori , Tomasz Wakula , Tyler Retzlaff , Vamsi Attunuru , Vanshika Shukla , Venkat Kumar Ande , Viacheslav Ovsiienko , Wathsala Vithanage , Wenwu Ma , Yingming Mao Subject: Re: please help backporting some patches to stable release 21.11.8 Message-ID: <20240902085002.638d1925@hermes.local> In-Reply-To: References: <20240829102156.1789758-1-ktraynor@redhat.com> <20240831094206.680e50c9@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Mon, 2 Sep 2024 10:23:31 +0200 David Marchand wrote: > Hello, >=20 > On Sat, Aug 31, 2024 at 6:42=E2=80=AFPM Stephen Hemminger > wrote: > > > > If I build 21.11 with current Gcc there are lot of warnings. > > > > > > ~/DPDK/21.11 $ ninja -C build > > ninja: Entering directory `build' > > [162/2951] Compiling C object lib/librte_hash.a.p/hash_rte_thash.c.o > > In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintri= n.h:77, > > from /usr/lib/gcc/x86_64-linux-gnu/14/include/x86intri= n.h:32, > > from ../lib/eal/x86/include/rte_vect.h:31, > > from ../lib/eal/x86/include/rte_memcpy.h:17, > > from ../lib/mempool/rte_mempool.h:50, > > from ../lib/mbuf/rte_mbuf.h:38, > > from ../lib/net/rte_ip.h:32, > > from ../lib/hash/rte_thash.h:25, > > from ../lib/hash/rte_thash.c:7: > > In function =E2=80=98_mm512_mask_permutexvar_epi8=E2=80=99, > > inlined from =E2=80=98__rte_thash_gfni=E2=80=99 at ../lib/hash/rte_= thash_x86_gfni.h:141:17, > > inlined from =E2=80=98rte_thash_gfni=E2=80=99 at ../lib/hash/rte_th= ash_x86_gfni.h:181:20, > > inlined from =E2=80=98rte_thash_adjust_tuple=E2=80=99 at ../lib/has= h/rte_thash.c:785:11: > > /usr/lib/gcc/x86_64-linux-gnu/14/include/avx512vbmiintrin.h:97:20: warn= ing: =E2=80=98tuple_bytes=E2=80=99 may be used uninitialized [-Wmaybe-unini= tialized] > > 97 | return (__m512i) __builtin_ia32_permvarqi512_mask ((__v64qi) = __B, > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ > > 98 | (__v64qi) = __A, > > | ~~~~~~~~~~= ~~~~ > > 99 | (__v64qi) = __W, > > | ~~~~~~~~~~= ~~~~ > > 100 | (__mmask64= ) __M); > > | ~~~~~~~~~~= ~~~~~~ > > In file included from ../lib/hash/rte_thash_gfni.h:16, > > from ../lib/hash/rte_thash.h:27: > > ../lib/hash/rte_thash_x86_gfni.h: In function =E2=80=98rte_thash_adjust= _tuple=E2=80=99: > > ../lib/hash/rte_thash_x86_gfni.h:90:33: note: =E2=80=98tuple_bytes=E2= =80=99 was declared here > > 90 | __m512i vals, matrixes, tuple_bytes, tuple_bytes_2; > > | ^~~~~~~~~~~ > > In function =E2=80=98_mm512_mask_permutexvar_epi8=E2=80=99, > > inlined from =E2=80=98__rte_thash_gfni=E2=80=99 at ../lib/hash/rte_= thash_x86_gfni.h:141:17, > > inlined from =E2=80=98rte_thash_gfni=E2=80=99 at ../lib/hash/rte_th= ash_x86_gfni.h:181:20, > > inlined from =E2=80=98rte_thash_adjust_tuple=E2=80=99 at ../lib/has= h/rte_thash.c:785:11: > > /usr/lib/gcc/x86_64-linux-gnu/14/include/avx512vbmiintrin.h:97:20: warn= ing: =E2=80=98permute_mask=E2=80=99 may be used uninitialized [-Wmaybe-unin= itialized] > > 97 | return (__m512i) __builtin_ia32_permvarqi512_mask ((__v64qi) = __B, > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~ > > 98 | (__v64qi) = __A, > > | ~~~~~~~~~~= ~~~~ > > 99 | (__v64qi) = __W, > > | ~~~~~~~~~~= ~~~~ > > 100 | (__mmask64= ) __M); > > | ~~~~~~~~~~= ~~~~~~ > > ../lib/hash/rte_thash_x86_gfni.h: In function =E2=80=98rte_thash_adjust= _tuple=E2=80=99: > > ../lib/hash/rte_thash_x86_gfni.h:91:30: note: =E2=80=98permute_mask=E2= =80=99 was declared here > > 91 | __mmask64 load_mask, permute_mask, permute_mask_2; > > | ^~~~~~~~~~~~ =20 >=20 > Those above should be fixed in v21.11.4 with 47951ef1dc21 ("hash: fix > GFNI implementation build with GCC 12"). > I quickly checked other warnings and I see issues already fixed in > dpdk-stable/21.11. >=20 > Please test with latest HEAD of the 21.11 branch. >=20 >=20 Thanks it builds clean with current branch, was using an old build tree.