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

2021-10-22 Thread David Hunt
On 18/10/2021 3:16 PM, Miao Li wrote: This patch implements rte_power_monitor API in virtio PMD to reduce 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

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

2021-10-22 Thread Xia, Chenbo
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, October 22, 2021 5:00 PM > To: Li, Miao ; dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com > Subject: Re: [dpdk-dev] [PATCH v7 1/5] net/virtio: implement rte_power_monitor > API > > On 1

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

2021-10-22 Thread Ferruh Yigit
On 10/22/2021 9:51 AM, Li, Miao wrote: Hi, -Original Message- From: Li, Miao Sent: Friday, October 22, 2021 4:28 PM To: Yigit, Ferruh ; dev@dpdk.org Cc: Xia, Chenbo ; maxime.coque...@redhat.com Subject: RE: [dpdk-dev] [PATCH v7 1/5] net/virtio: implement rte_power_monitor API Hi

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

2021-10-22 Thread Li, Miao
Hi, > -Original Message- > From: Li, Miao > Sent: Friday, October 22, 2021 4:28 PM > To: Yigit, Ferruh ; dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com > Subject: RE: [dpdk-dev] [PATCH v7 1/5] net/virtio: implement > rte_power_monitor API > > Hi, &

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

2021-10-22 Thread Li, Miao
Hi, > -Original Message- > From: Yigit, Ferruh > Sent: Friday, October 22, 2021 12:59 AM > To: Li, Miao ; dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com > Subject: Re: [dpdk-dev] [PATCH v7 1/5] net/virtio: implement > rte_power_monitor API > > On

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

2021-10-22 Thread Li, Miao
Hi, > -Original Message- > From: Yigit, Ferruh > Sent: Friday, October 22, 2021 12:51 AM > To: Li, Miao ; dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com > Subject: Re: [dpdk-dev] [PATCH v7 1/5] net/virtio: implement > rte_power_monitor API > > On

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

2021-10-21 Thread Ferruh Yigit
On 10/18/2021 3:16 PM, Miao Li wrote: This patch implements rte_power_monitor API in virtio PMD to reduce 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 ag

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

2021-10-21 Thread Ferruh Yigit
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.

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

2021-10-17 Thread Miao Li
This patch implements rte_power_monitor API in virtio PMD to reduce 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_