numam-dpdk/drivers/net/i40e
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
i40e_ethdev_vf.c devargs: add common key definition 2021-07-05 16:33:18 +02:00
i40e_ethdev.c drivers/net: fix memzone allocations for DMA memory 2021-07-07 14:30:30 +02:00
i40e_ethdev.h net/i40e: fix multi-process shared data 2021-07-06 04:59:01 +02:00
i40e_fdir.c net/i40e: fix multi-process shared data 2021-07-06 04:59:01 +02:00
i40e_flow.c net/i40e: fix multi-process shared data 2021-07-06 04:59:01 +02:00
i40e_hash.c net/i40e: fix multi-process shared data 2021-07-06 04:59:01 +02:00
i40e_hash.h net/i40e: refactor RSS flow 2021-01-08 19:20:09 +01:00
i40e_logs.h net/i40e: refine debug build option 2021-04-01 16:10:20 +02:00
i40e_pf.c net/i40e: fix VF RSS configuration 2021-05-12 14:21:27 +02:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c mbuf: rename outer IP checksum macro 2021-03-02 10:57:28 +01:00
i40e_rxtx_vec_avx2.c net/i40e: fix crash in AVX512 2021-04-14 14:29:47 +02:00
i40e_rxtx_vec_avx512.c net/i40e: fix crash in AVX512 2021-04-14 14:29:47 +02:00
i40e_rxtx_vec_common.h net/i40e: improve vector Tx performance 2021-07-06 04:59:01 +02:00
i40e_rxtx_vec_neon.c net/i40e: fix parsing packet type for NEON 2021-03-30 01:17:15 +02:00
i40e_rxtx_vec_sse.c mbuf: rename outer IP checksum macro 2021-03-02 10:57:28 +01:00
i40e_rxtx.c eal: use callbacks for power monitoring comparison 2021-07-09 21:13:13 +02:00
i40e_rxtx.h net/i40e: add Tx preparation for simple Tx datapath 2021-04-20 16:01:15 +02:00
i40e_tm.c drivers/net: build i40e and mlx5 on Windows 2021-01-14 23:51:24 +01:00
i40e_vf_representor.c net/i40e: fix multi-process shared data 2021-07-06 04:59:01 +02:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_pmd_i40e.c net/i40e: add null input checks 2021-01-13 18:51:58 +01:00
rte_pmd_i40e.h net/i40e: add C++ include guard 2020-11-13 19:43:26 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00