Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop

2021-07-07 Thread David Marchand
On Mon, Jul 5, 2021 at 7:06 PM Conor Walsh wrote: > > This patch aligns the l3fwd FIB code with the changes made to LPM in > commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM > main loop"). > This change ensures the compiler knows that the lcore config variables > are constant va

Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop

2021-07-06 Thread Walsh, Conor
> > This patch aligns the l3fwd FIB code with the changes made to LPM in > > commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM > > main loop"). > > This change ensures the compiler knows that the lcore config variables > > are constant values and the compiler will then optimize th

Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop

2021-07-06 Thread David Marchand
On Mon, Jul 5, 2021 at 7:06 PM Conor Walsh wrote: > > This patch aligns the l3fwd FIB code with the changes made to LPM in > commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM > main loop"). > This change ensures the compiler knows that the lcore config variables > are constant va

Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop

2021-07-05 Thread Ruifeng Wang
> -Original Message- > From: Conor Walsh > Sent: Tuesday, July 6, 2021 1:06 AM > To: konstantin.anan...@intel.com; vladimir.medved...@intel.com; Ruifeng > Wang ; jer...@marvell.com > Cc: dev@dpdk.org; paulis.grib...@intel.com; Conor Walsh > > Subject: [PATCH] examples/l3fwd: remove useles

Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop

2021-07-05 Thread Ananyev, Konstantin
> > This patch aligns the l3fwd FIB code with the changes made to LPM in > commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM > main loop"). > This change ensures the compiler knows that the lcore config variables > are constant values and the compiler will then optimize the cod

[dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop

2021-07-05 Thread Conor Walsh
This patch aligns the l3fwd FIB code with the changes made to LPM in commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM main loop"). This change ensures the compiler knows that the lcore config variables are constant values and the compiler will then optimize the code accordingly.