DPDK 21.11.9
Data Fields
rte_vhost_power_monitor_cond Struct Reference

#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 300 of file rte_vhost.h.

Field Documentation

◆ addr

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 302 of file rte_vhost.h.

◆ val

uint64_t val

64-bit mask to extract value read from addr

Definition at line 307 of file rte_vhost.h.

◆ mask

uint64_t mask

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

Definition at line 309 of file rte_vhost.h.

◆ size

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 313 of file rte_vhost.h.


The documentation for this struct was generated from the following file: