Re: [dpdk-dev] [PATCH v5 2/5] vhost: implement rte_power_monitor API

2021-10-15 Thread Li, Miao
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Friday, October 15, 2021 3:38 PM > To: Li, Miao ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH v5 2/5] vhost: implement rte_power_monitor API > > Hi, > > > -Original Message- > > From: Li, Miao >

Re: [dpdk-dev] [PATCH v5 2/5] vhost: implement rte_power_monitor API

2021-10-15 Thread Xia, Chenbo
Hi, > -Original Message- > From: Li, Miao > Sent: Friday, October 15, 2021 11:12 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com; Li, Miao > > Subject: [PATCH v5 2/5] vhost: implement rte_power_monitor API > > This patch defines rte_vhost_power_monitor_cond which is

[dpdk-dev] [PATCH v5 2/5] vhost: implement rte_power_monitor API

2021-10-15 Thread Miao Li
This patch defines rte_vhost_power_monitor_cond which is used to pass some information to vhost driver. The information is including the address to monitor, the expected value, the mask to extract value read from 'addr', the value size of monitor address, the match flag used to distinguish the valu