Thread (354 messages) 354 messages, 18 authors, 2021-01-29

Re: [dpdk-dev] [PATCH v3 1/6] eal: add power management intrinsics

From: Liang, Ma <hidden>
Date: 2020-09-14 20:48:44

Hi Stephen, 
   Agree. v4 will address this.
Regards
Liang
On 04 Sep 09:23, Stephen Hemminger wrote:
On Fri,  4 Sep 2020 11:18:55 +0100
Liang Ma [off-list ref] wrote:
quoted
+ *
+ * @return
+ *   Architecture-dependent return value.
+ */
+static inline int rte_power_monitor(const volatile void *p,
+		const uint64_t expected_value, const uint64_t value_mask,
+		const uint32_t state, const uint64_t tsc_timestamp);
Since this is generic code, and you are defining the function.
You should have it return -ENOTSUPPORTED or -EINVAL.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help