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 drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_api.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_defines.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
ixgbe_bypass.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_ethdev.c log: register with standardized names 2021-05-11 15:17:55 +02:00
ixgbe_ethdev.h net/ixgbe: fix jumbo frame flag condition 2021-01-19 03:30:15 +01:00
ixgbe_fdir.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
ixgbe_flow.c net/ixgbe: fix flow entry access after freeing 2021-07-09 09:31:52 +02:00
ixgbe_ipsec.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
ixgbe_ipsec.h cryptodev: make xform key pointer constant 2019-07-19 14:15:21 +02:00
ixgbe_logs.h net/ixgbe: refine debug build option 2021-04-01 16:10:20 +02:00
ixgbe_pf.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
ixgbe_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_rxtx_vec_common.h ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
ixgbe_rxtx_vec_neon.c net/ixgbe: fix UDP zero checksum on Arm 2021-02-10 21:51:38 +01:00
ixgbe_rxtx_vec_sse.c net/ixgbe: fix UDP zero checksum on x86 2021-02-10 21:49:00 +01:00
ixgbe_rxtx.c eal: use callbacks for power monitoring comparison 2021-07-09 21:13:13 +02:00
ixgbe_rxtx.h net/ixgbe: fix UDP zero checksum on x86 2021-02-10 21:49:00 +01:00
ixgbe_tm.c drivers/net: update TM capability 2020-09-18 18:55:10 +02:00
ixgbe_vf_representor.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_pmd_ixgbe.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
rte_pmd_ixgbe.h drivers/net: fix exposing internal headers 2020-07-11 06:18:54 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00