[dpdk-dev] [PATCH v7 1/5] net/virtio: implement rte_power_monitor API

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 21 18:50:37 CEST 2021


On 10/18/2021 3:16 PM, Miao Li wrote:
> This patch implements rte_power_monitor API in virtio PMD to reduce

Hi Miao,

If there will be a new version can you please drop the "This patch implements"
part, you can directly start explaining what patch does.

> power consumption when no packet come in. According to current semantics
> of power monitor, this commit adds a callback function to decide whether
> aborts the sleep by checking current value against the expected value and
> virtio_get_monitor_addr to provide address to monitor. When no packet come
> in, the value of address will not be changed and the running core will
> sleep. Once packets arrive, the value of address will be changed and the
> running core will wakeup.
> 
> Signed-off-by: Miao Li<miao.li at intel.com>
> Reviewed-by: Chenbo Xia<chenbo.xia at intel.com>


<...>


More information about the dev mailing list