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

David Marchand david.marchand at redhat.com
Wed Jul 7 11:57:03 CEST 2021


On Mon, Jul 5, 2021 at 7:06 PM Conor Walsh <conor.walsh at intel.com> 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 values and the compiler will then optimize the code
> accordingly.
>
> Signed-off-by: Conor Walsh <conor.walsh at intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks.

-- 
David Marchand



More information about the dev mailing list