> -----Original Message-----
> From: Conor Walsh <conor.wa...@intel.com>
> Sent: Tuesday, July 6, 2021 1:06 AM
> To: konstantin.anan...@intel.com; vladimir.medved...@intel.com; Ruifeng
> Wang <ruifeng.w...@arm.com>; jer...@marvell.com
> Cc: dev@dpdk.org; paulis.grib...@intel.com; Conor Walsh
> <conor.wa...@intel.com>
> Subject: [PATCH] examples/l3fwd: remove useless reloads in FIB main loop
> 
> 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.
> 
> Signed-off-by: Conor Walsh <conor.wa...@intel.com>
> ---
>  examples/l3fwd/l3fwd_fib.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com>

Reply via email to