numam-dpdk/drivers/net/iavf
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
..
iavf_ethdev.c net/iavf: query QoS capabilities and set queue TC mapping 2021-07-06 04:58:15 +02:00
iavf_fdir.c net/iavf: simplify flow director rules for IP fragment 2021-07-09 05:05:19 +02:00
iavf_generic_flow.c net/iavf: support flow pattern for GRE 2021-07-04 16:57:01 +02:00
iavf_generic_flow.h net/iavf: support flow pattern for GRE 2021-07-04 16:57:01 +02:00
iavf_hash.c net/iavf: support RSS for GRE tunnel packet 2021-07-04 16:57:05 +02:00
iavf_log.h net/iavf: refine debug build option 2021-04-01 16:10:20 +02:00
iavf_rxtx_vec_avx2.c net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx_vec_avx512.c net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx_vec_common.h net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx_vec_sse.c net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx.c eal: use callbacks for power monitoring comparison 2021-07-09 21:13:13 +02:00
iavf_rxtx.h net/iavf: check Tx packet with correct UP and queue 2021-07-06 04:58:15 +02:00
iavf_tm.c net/iavf: check Tx packet with correct UP and queue 2021-07-06 04:58:15 +02:00
iavf_vchnl.c net/iavf: query QoS capabilities and set queue TC mapping 2021-07-06 04:58:15 +02:00
iavf.h net/iavf: check Tx packet with correct UP and queue 2021-07-06 04:58:15 +02:00
meson.build net/iavf: query QoS capabilities and set queue TC mapping 2021-07-06 04:58:15 +02:00
rte_pmd_iavf.h net/iavf: fix SPDX license text 2020-11-20 21:10:05 +01:00
version.map net/iavf: support flex desc metadata extraction 2020-11-03 23:35:06 +01:00