[PATCH] app/flow-perf: replace RTE_BE32/16 with rte_cpu_to_be_32/16 for variables
Wisam Monther
wisamm at nvidia.com
Tue Apr 18 13:32:50 CEST 2023
Hi,
> >
> > > -----Original Message-----
> > > From: Harold Huang <baymaxhuang at gmail.com>
> > > Sent: Sunday, March 12, 2023 4:00 AM
> > > To: dev at dpdk.org
> > > Cc: Harold Huang <baymaxhuang at gmail.com>; Wisam Monther
> > > <wisamm at nvidia.com>
> > > Subject: [PATCH] app/flow-perf: replace RTE_BE32/16 with
> > > rte_cpu_to_be_32/16 for variables
> > >
> > > In DPDK, the macros RTE_BE32 or RTE_BE16 are usually used for
> > > constant values. And functions such as rte_cpu_to_be_32 or
> > > rte_cpu_to_be_16 are optimized for variables.
> > >
> > > Signed-off-by: Harold Huang <baymaxhuang at gmail.com>
Acked-by: Wisam Jaddo <wisamm at nvidia.com>
BRs,
Wisam Jaddo
More information about the dev
mailing list