[dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in EM main loop
Ruifeng Wang
Ruifeng.Wang at arm.com
Wed Jul 7 07:20:29 CEST 2021
> -----Original Message-----
> From: Conor Walsh <conor.walsh at intel.com>
> Sent: Tuesday, July 6, 2021 7:58 PM
> To: david.marchand at redhat.com; konstantin.ananyev at intel.com;
> vladimir.medvedkin at intel.com; Ruifeng Wang <Ruifeng.Wang at arm.com>;
> jerinj at marvell.com
> Cc: dev at dpdk.org; paulis.gributs at intel.com; Conor Walsh
> <conor.walsh at intel.com>
> 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 <conor.walsh at intel.com>
> ---
> examples/l3fwd/l3fwd_em.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
More information about the dev
mailing list