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

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


On Tue, Jul 6, 2021 at 1:58 PM Conor Walsh <conor.walsh at intel.com> wrote:
>
> This patch aligns the l3fwd EM 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>
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