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

Walsh, Conor conor.walsh at intel.com
Tue Jul 6 13:55:50 CEST 2021


> > 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.
> 
> em can undergo the same change too.
> Can you send a followup patch and I would take them both for rc1?

Thanks! I will send a patch for em now
/Conor.

> 
> Thanks.
> 
> >
> > Signed-off-by: Conor Walsh <conor.walsh at intel.com>
> 
> --
> David Marchand



More information about the dev mailing list