patches for DPDK stable branches
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "Kevin Traynor" <ktraynor@redhat.com>,
	"dpdk stable" <stable@dpdk.org>,
	"Abhinandan Gujjar" <abhinandan.gujjar@intel.com>,
	"Akhil Goyal" <gakhil@marvell.com>,
	"Ali Alnubani" <alialnu@nvidia.com>,
	"Amit Prakash Shukla" <amitprakashs@marvell.com>,
	"Anatoly Burakov" <anatoly.burakov@intel.com>,
	"Anoob Joseph" <anoobj@marvell.com>,
	"Ashwin Sekhar T K" <asekhar@marvell.com>,
	"Bing Zhao" <bingz@nvidia.com>,
	"Bruce Richardson" <bruce.richardson@intel.com>,
	"Chengwen Feng" <fengchengwen@huawei.com>,
	"Ciara Loftus" <ciara.loftus@intel.com>,
	"Ciara Power" <ciara.power@intel.com>,
	"Conor Walsh" <conor.walsh@intel.com>,
	"Dariusz Sosnowski" <dsosnowski@nvidia.com>,
	"Dengdui Huang" <huangdengdui@huawei.com>,
	"Fabio Pricoco" <fabio.pricoco@intel.com>,
	"Ferruh Yigit" <ferruh.yigit@amd.com>,
	"Frank Du" <frank.du@intel.com>,
	"Gagandeep Singh" <g.singh@nxp.com>,
	"Ganapati Kundapura" <ganapati.kundapura@intel.com>,
	"Gaoxiang Liu" <liugaoxiang@huawei.com>,
	"Gowrishankar Muthukrishnan" <gmuthukrishn@marvell.com>,
	"Gregory Etelson" <getelson@nvidia.com>,
	"Hanumanth Pothula" <hpothula@marvell.com>,
	"Harman Kalra" <hkalra@marvell.com>,
	"Hemant Agrawal" <hemant.agrawal@nxp.com>,
	"Honnappa Nagarahalli" <honnappa.nagarahalli@arm.com>,
	"Ian Stokes" <ian.stokes@intel.com>,
	"Jack Bond-Preston" <jack.bond-preston@foss.arm.com>,
	"Jerin Jacob" <jerinj@marvell.com>,
	"Jiawen Wu" <jiawenwu@trustnetic.com>,
	"Jiayu Hu" <hujiayu.hu@foxmail.com>, "Kai Ji" <kai.ji@intel.com>,
	"Kaiwen Deng" <kaiwenx.deng@intel.com>,
	"Kiran Kumar K" <kirankumark@marvell.com>,
	"Konstantin Ananyev" <konstantin.ananyev@huawei.com>,
	"Kumara Parameshwaran" <kumaraparamesh92@gmail.com>,
	"Luca Boccassi" <bluca@debian.org>, "Mário Kuka" <kuka@cesnet.cz>,
	"Matan Azrad" <matan@nvidia.com>,
	"Michael Baum" <michaelba@nvidia.com>,
	"Mingjin Ye" <mingjinx.ye@intel.com>,
	"Mohammad Iqbal Ahmad" <mahmad@marvell.com>,
	"Morten Brørup" <mb@smartsharesystems.com>,
	"Nathan Brown" <nathan.brown@arm.com>,
	"Nithin Dabilpuram" <ndabilpuram@marvell.com>,
	"Ola Liljedahl" <ola.liljedahl@arm.com>,
	"Olivier Matz" <olivier.matz@6wind.com>,
	"Ori Kam" <orika@nvidia.com>,
	"Pavan Nikhilesh" <pbhagavatula@marvell.com>,
	"Qi Zhang" <qi.z.zhang@intel.com>,
	"Rahul Bhansali" <rbhansali@marvell.com>,
	"Robin Jarry" <rjarry@redhat.com>,
	"Rohit Raj" <rohit.raj@nxp.com>,
	"Ruifeng Wang" <ruifeng.wang@arm.com>,
	"Selwin Sebastian" <selwin.sebastian@amd.com>,
	"Shijith Thotton" <sthotton@marvell.com>,
	"Shun Hao" <shunh@nvidia.com>, "Shuo Li" <lishuo02@baidu.com>,
	"Srujana Challa" <schalla@marvell.com>,
	"Steve Yang" <stevex.yang@intel.com>,
	"Suanming Mou" <suanmingm@nvidia.com>,
	"Sunil Kumar Kori" <skori@marvell.com>,
	"Tomasz Wakula" <tomaszx.wakula@intel.com>,
	"Tyler Retzlaff" <roretzla@linux.microsoft.com>,
	"Vamsi Attunuru" <vattunuru@marvell.com>,
	"Vanshika Shukla" <vanshika.shukla@nxp.com>,
	"Venkat Kumar Ande" <venkatkumar.ande@amd.com>,
	"Viacheslav Ovsiienko" <viacheslavo@nvidia.com>,
	"Wathsala Vithanage" <wathsala.vithanage@arm.com>,
	"Wenwu Ma" <wenwux.ma@intel.com>,
	"Yingming Mao" <maoyingming@baidu.com>
Subject: Re: please help backporting some patches to stable release 21.11.8
Date: Mon, 2 Sep 2024 10:23:31 +0200	[thread overview]
Message-ID: <CAJFAV8x9LCV3wqrtzRPnUXLgV5CR4fJ+oRbaiXQPmwZmEiOKXw@mail.gmail.com> (raw)
In-Reply-To: <20240831094206.680e50c9@hermes.local>

Hello,

On Sat, Aug 31, 2024 at 6:42 PM Stephen Hemminger
<stephen@networkplumber.org> 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/immintrin.h:77,
>                  from /usr/lib/gcc/x86_64-linux-gnu/14/include/x86intrin.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 ‘_mm512_mask_permutexvar_epi8’,
>     inlined from ‘__rte_thash_gfni’ at ../lib/hash/rte_thash_x86_gfni.h:141:17,
>     inlined from ‘rte_thash_gfni’ at ../lib/hash/rte_thash_x86_gfni.h:181:20,
>     inlined from ‘rte_thash_adjust_tuple’ at ../lib/hash/rte_thash.c:785:11:
> /usr/lib/gcc/x86_64-linux-gnu/14/include/avx512vbmiintrin.h:97:20: warning: ‘tuple_bytes’ may be used uninitialized [-Wmaybe-uninitialized]
>    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 ‘rte_thash_adjust_tuple’:
> ../lib/hash/rte_thash_x86_gfni.h:90:33: note: ‘tuple_bytes’ was declared here
>    90 |         __m512i vals, matrixes, tuple_bytes, tuple_bytes_2;
>       |                                 ^~~~~~~~~~~
> In function ‘_mm512_mask_permutexvar_epi8’,
>     inlined from ‘__rte_thash_gfni’ at ../lib/hash/rte_thash_x86_gfni.h:141:17,
>     inlined from ‘rte_thash_gfni’ at ../lib/hash/rte_thash_x86_gfni.h:181:20,
>     inlined from ‘rte_thash_adjust_tuple’ at ../lib/hash/rte_thash.c:785:11:
> /usr/lib/gcc/x86_64-linux-gnu/14/include/avx512vbmiintrin.h:97:20: warning: ‘permute_mask’ may be used uninitialized [-Wmaybe-uninitialized]
>    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 ‘rte_thash_adjust_tuple’:
> ../lib/hash/rte_thash_x86_gfni.h:91:30: note: ‘permute_mask’ was declared here
>    91 |         __mmask64 load_mask, permute_mask, permute_mask_2;
>       |                              ^~~~~~~~~~~~

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.

Please test with latest HEAD of the 21.11 branch.


-- 
David Marchand


  reply	other threads:[~2024-09-02  8:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29 10:21 Kevin Traynor
2024-08-29 10:31 ` Robin Jarry
2024-08-30  9:04   ` Kevin Traynor
2024-08-30  3:00 ` Ma, WenwuX
2024-08-30  9:01   ` Kevin Traynor
2024-08-30  9:16 ` Ye, MingjinX
2024-08-30  9:34   ` Kevin Traynor
2024-08-31 16:27 ` Stephen Hemminger
2024-09-03 13:25   ` Kevin Traynor
2024-08-31 16:42 ` Stephen Hemminger
2024-09-02  8:23   ` David Marchand [this message]
2024-09-02 15:50     ` Stephen Hemminger
2024-09-02 13:01 ` Etelson, Gregory
2024-09-03 13:25   ` Kevin Traynor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJFAV8x9LCV3wqrtzRPnUXLgV5CR4fJ+oRbaiXQPmwZmEiOKXw@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=abhinandan.gujjar@intel.com \
    --cc=alialnu@nvidia.com \
    --cc=amitprakashs@marvell.com \
    --cc=anatoly.burakov@intel.com \
    --cc=anoobj@marvell.com \
    --cc=asekhar@marvell.com \
    --cc=bingz@nvidia.com \
    --cc=bluca@debian.org \
    --cc=bruce.richardson@intel.com \
    --cc=ciara.loftus@intel.com \
    --cc=ciara.power@intel.com \
    --cc=conor.walsh@intel.com \
    --cc=dsosnowski@nvidia.com \
    --cc=fabio.pricoco@intel.com \
    --cc=fengchengwen@huawei.com \
    --cc=ferruh.yigit@amd.com \
    --cc=frank.du@intel.com \
    --cc=g.singh@nxp.com \
    --cc=gakhil@marvell.com \
    --cc=ganapati.kundapura@intel.com \
    --cc=getelson@nvidia.com \
    --cc=gmuthukrishn@marvell.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=hkalra@marvell.com \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=hpothula@marvell.com \
    --cc=huangdengdui@huawei.com \
    --cc=hujiayu.hu@foxmail.com \
    --cc=ian.stokes@intel.com \
    --cc=jack.bond-preston@foss.arm.com \
    --cc=jerinj@marvell.com \
    --cc=jiawenwu@trustnetic.com \
    --cc=kai.ji@intel.com \
    --cc=kaiwenx.deng@intel.com \
    --cc=kirankumark@marvell.com \
    --cc=konstantin.ananyev@huawei.com \
    --cc=ktraynor@redhat.com \
    --cc=kuka@cesnet.cz \
    --cc=kumaraparamesh92@gmail.com \
    --cc=lishuo02@baidu.com \
    --cc=liugaoxiang@huawei.com \
    --cc=mahmad@marvell.com \
    --cc=maoyingming@baidu.com \
    --cc=matan@nvidia.com \
    --cc=mb@smartsharesystems.com \
    --cc=michaelba@nvidia.com \
    --cc=mingjinx.ye@intel.com \
    --cc=nathan.brown@arm.com \
    --cc=ndabilpuram@marvell.com \
    --cc=ola.liljedahl@arm.com \
    --cc=olivier.matz@6wind.com \
    --cc=orika@nvidia.com \
    --cc=pbhagavatula@marvell.com \
    --cc=qi.z.zhang@intel.com \
    --cc=rbhansali@marvell.com \
    --cc=rjarry@redhat.com \
    --cc=rohit.raj@nxp.com \
    --cc=roretzla@linux.microsoft.com \
    --cc=ruifeng.wang@arm.com \
    --cc=schalla@marvell.com \
    --cc=selwin.sebastian@amd.com \
    --cc=shunh@nvidia.com \
    --cc=skori@marvell.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=stevex.yang@intel.com \
    --cc=sthotton@marvell.com \
    --cc=suanmingm@nvidia.com \
    --cc=tomaszx.wakula@intel.com \
    --cc=vanshika.shukla@nxp.com \
    --cc=vattunuru@marvell.com \
    --cc=venkatkumar.ande@amd.com \
    --cc=viacheslavo@nvidia.com \
    --cc=wathsala.vithanage@arm.com \
    --cc=wenwux.ma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).