numam-dpdk/drivers/net/ixgbe
Anatoly Burakov 6afc4baf4f eal: use callbacks for power monitoring comparison
Previously, the semantics of power monitor were such that we were
checking current value against the expected value, and if they matched,
then the sleep was aborted. This is somewhat inflexible, because it only
allowed us to check for a specific value in a specific way.

This commit replaces the comparison with a user callback mechanism, so
that any PMD (or other code) using `rte_power_monitor()` can define
their own comparison semantics and decision making on how to detect the
need to abort the entering of power optimized state.

Existing implementations are adjusted to follow the new semantics.

Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: David Hunt <david.hunt@intel.com>
Acked-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
2021-07-09 21:13:13 +02:00
..
base build: fix formatting of Meson lists 2021-05-04 15:01:47 +02:00
ixgbe_82599_bypass.c
ixgbe_bypass_api.h
ixgbe_bypass_defines.h
ixgbe_bypass.c
ixgbe_bypass.h
ixgbe_ethdev.c log: register with standardized names 2021-05-11 15:17:55 +02:00
ixgbe_ethdev.h
ixgbe_fdir.c
ixgbe_flow.c net/ixgbe: fix flow entry access after freeing 2021-07-09 09:31:52 +02:00
ixgbe_ipsec.c
ixgbe_ipsec.h
ixgbe_logs.h
ixgbe_pf.c
ixgbe_regs.h
ixgbe_rxtx_vec_common.h
ixgbe_rxtx_vec_neon.c
ixgbe_rxtx_vec_sse.c
ixgbe_rxtx.c eal: use callbacks for power monitoring comparison 2021-07-09 21:13:13 +02:00
ixgbe_rxtx.h
ixgbe_tm.c
ixgbe_vf_representor.c
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_pmd_ixgbe.c
rte_pmd_ixgbe.h
version.map