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

2021-09-16 Thread Li, Miao
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Wednesday, September 15, 2021 4:52 PM > To: Li, Miao ; dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: RE: [PATCH 2/5] lib/vhost: implement rte_power_monitor API > > Hi Miao, > > > -Original Message- > > From:

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

2021-09-15 Thread Xia, Chenbo
Hi Miao, > -Original Message- > From: Li, Miao > Sent: Friday, September 10, 2021 9:06 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com; Li, Miao > > Subject: [PATCH 2/5] lib/vhost: implement rte_power_monitor API Should be 'vhost: implement rte_power_monitor API' >

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

2021-09-09 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 flag used to distinguish packed ring or split ring. Vhost driver can use t