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

Re: [dpdk-dev] [PATCH v17 03/11] eal: change API of power intrinsics

From: Thomas Monjalon <hidden>
Date: 2021-01-19 10:42:59

19/01/2021 11:29, Burakov, Anatoly:
On 18-Jan-21 10:26 PM, Thomas Monjalon wrote:
quoted
14/01/2021 15:46, Anatoly Burakov:
quoted
+struct rte_power_monitor_cond {
+	volatile void *addr;  /**< Address to monitor for changes */
+	uint64_t val;         /**< Before attempting the monitoring, the address
+	                       *   may be read and compared against this value.
"may" be read and compared?
Is there a case where there is no read and compare?
Yes, if the mask is not set.
If the mask is not set, the address is "read" anyway
or it is only "watched" for any change?

Sorry the mechanism is really not clear to me.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help