---
name: "rte_vhost_power_monitor_cond"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_vhost_power_monitor_cond"
---

# rte\_vhost\_power\_monitor\_cond(3)

## NAME

rte\_vhost\_power\_monitor\_cond

## SYNOPSIS

`#include <rte_vhost.h>`

### Data Fields

volatile void \* **addr**\
 uint64\_t **val**\
 uint64\_t **mask**\
 uint8\_t **size**\

## Detailed Description

Power monitor condition.

Definition at line **314** of file **rte\_vhost.h**.

## Field Documentation

### volatile void\* addr

\< Address to monitor for changes If the `mask` is non-zero, location pointed to by `addr` will be read and masked, then compared with this value.

Definition at line **316** of file **rte\_vhost.h**.

### uint64\_t val

64-bit mask to extract value read from `addr`

Definition at line **321** of file **rte\_vhost.h**.

### uint64\_t mask

Data size (in bytes) that will be read from the monitored memory location (`addr`).

Definition at line **323** of file **rte\_vhost.h**.

### uint8\_t size

If 1, and masked value that read from 'addr' equals 'val', the driver should skip core sleep. If 0, and masked value that read from 'addr' does not equal 'val', the driver should skip core sleep.

Definition at line **327** of file **rte\_vhost.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
