> -----Original Message----- > From: Gavin Hu <gavin...@arm.com> > Sent: Tuesday, July 23, 2019 9:14 PM > To: dev@dpdk.org > Cc: n...@arm.com; tho...@monjalon.net; step...@networkplumber.org; > Jerin Jacob Kollanukkaran <jer...@marvell.com>; Pavan Nikhilesh > Bhagavatula <pbhagavat...@marvell.com>; > honnappa.nagaraha...@arm.com; gavin...@arm.com > Subject: [EXT] [PATCH v3 5/5] config: add WFE config entry for aarch64 > > Add the RTE_USE_WFE configuration entry for aarch64, disabled by default. > It can be enabled selectively based on the performance benchmarking. > > Signed-off-by: Gavin Hu <gavin...@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > Reviewed-by: Steve Capper <steve.cap...@arm.com> > Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > Acked-by: Pavan Nikhilesh <pbhagavat...@marvell.com> > > +# Use WFE instructions to implement the rte_wait_for_equal_xxx APIs, # > +calling these APIs put the cores enter low power state while waiting # > +for the memory address to be become equal to the expected value. > +# This is supported only by aarch64. > +CONFIG_RTE_USE_WFE=n
# If it specific for arm and none of the other architectures supports it then I would like to change the config as CONFIG_RTE_ARM_USE_WFE # Even if it is disabled, have the =n entry in config/common_base to know all supported configs in DPDK in one place. # Arrange all CONFIG_RTE_ARM_* together in config/common_base