Re: [dpdk-dev] [PATCH v2] examples/l3fwd: fix aliasing in port grouping

2017-11-07 Thread Ferruh Yigit
uriprathyu...@gmail.com, >>> konstantin.anan...@intel.com, dev@dpdk.org, Guduri Prathyusha >>> >>> Subject: [dpdk-dev] [PATCH v2] examples/l3fwd: fix aliasing in port grouping >>> X-Mailer: git-send-email 2.14.1 >>> >>> With -f-strict-aliasing e

Re: [dpdk-dev] [PATCH v2] examples/l3fwd: fix aliasing in port grouping

2017-11-06 Thread Jianbo Liu
, dev@dpdk.org, Guduri Prathyusha > > > > Subject: [dpdk-dev] [PATCH v2] examples/l3fwd: fix aliasing in port grouping > > X-Mailer: git-send-email 2.14.1 > > > > With -f-strict-aliasing enabled by default from -O2, gcc > 5.x gives > > undefined behavio

Re: [dpdk-dev] [PATCH v2] examples/l3fwd: fix aliasing in port grouping

2017-11-05 Thread Jerin Jacob
-Original Message- > Date: Fri, 3 Nov 2017 16:13:51 +0530 > From: Guduri Prathyusha > To: tomasz.kante...@intel.com > CC: jianbo@arm.com, guduriprathyu...@gmail.com, > konstantin.anan...@intel.com, dev@dpdk.org, Guduri Prathyusha > > Subject: [dpdk-dev] [PAT

[dpdk-dev] [PATCH v2] examples/l3fwd: fix aliasing in port grouping

2017-11-03 Thread Guduri Prathyusha
With -f-strict-aliasing enabled by default from -O2, gcc > 5.x gives undefined behavior in port_groupx4 in ARM. 'pn' and 'pnum' are two different pointers pointing to same chunk of memory and with -f-strict-aliasing the pointers are assumed to be pointing to different memory and compiler reorders i