> -----Original Message-----
> From: Conor Walsh <[email protected]>
> Sent: Tuesday, July 6, 2021 7:58 PM
> To: [email protected]; [email protected];
> [email protected]; Ruifeng Wang <[email protected]>;
> [email protected]
> Cc: [email protected]; [email protected]; Conor Walsh
> <[email protected]>
> Subject: [PATCH] examples/l3fwd: remove useless reloads in EM main loop
> 
> 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 <[email protected]>
> ---
>  examples/l3fwd/l3fwd_em.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
Reviewed-by: Ruifeng Wang <[email protected]>

Reply via email to