Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-30 Thread Thomas Monjalon
30/10/2020 10:36, Liang, Ma: > On 29 Oct 18:42, Thomas Monjalon wrote: > > 27/10/2020 15:59, Liang Ma: > > > Liang Ma (9): > > > eal: add new x86 cpuid support for WAITPKG > > > eal: add power management intrinsics > > > eal: add intrinsics support check infrastructure > > > > EAL patches ap

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-30 Thread Liang, Ma
On 29 Oct 18:42, Thomas Monjalon wrote: > 27/10/2020 15:59, Liang Ma: > > Liang Ma (9): > > eal: add new x86 cpuid support for WAITPKG > > eal: add power management intrinsics > > eal: add intrinsics support check infrastructure > > EAL patches applied, thanks. thanks! > > > ethdev: add s

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-29 Thread Thomas Monjalon
27/10/2020 15:59, Liang Ma: > Liang Ma (9): > eal: add new x86 cpuid support for WAITPKG > eal: add power management intrinsics > eal: add intrinsics support check infrastructure EAL patches applied, thanks. > ethdev: add simple power management API Waiting for doxygen reword which may h

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-29 Thread Liang, Ma
On 28 Oct 09:54, McDaniel, Timothy wrote: > > > > > > > > > > > > > > > > > > It would be nice if the low level definition of the UMWAIT and UMONOTOR > instructions were split out > into their own inline function or macro so that any PMD could use the > intrinsic without being tied to ethdev or

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Ajit Khaparde
On Wed, Oct 28, 2020 at 9:47 AM Liang, Ma wrote: > > On 28 Oct 21:27, Jerin Jacob wrote: > > On Wed, Oct 28, 2020 at 9:19 PM Ananyev, Konstantin > > wrote: > > > > > > > > 28/10/2020 14:49, Jerin Jacob: > > > > > > > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma > > > > > > > > > wrote: > > > >

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Ananyev, Konstantin
> -Original Message- > From: Ajit Khaparde > Sent: Wednesday, October 28, 2020 5:02 PM > To: Ma, Liang J > Cc: Jerin Jacob ; Ananyev, Konstantin > ; Thomas Monjalon > ; dpdk-dev ; Ruifeng Wang (Arm Technology > China) ; Wang, Haiyue > ; Richardson, Bruce ; > Hunt, David ; Neil Horman

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread McDaniel, Timothy
> -Original Message- > From: Ma, Liang J > Sent: Wednesday, October 28, 2020 11:48 AM > To: Jerin Jacob > Cc: Ananyev, Konstantin ; Thomas Monjalon > ; dpdk-dev ; Ruifeng Wang (Arm > Technology China) ; Wang, Haiyue > ; Richardson, Bruce ; > Hunt, David ; Neil Horman ; > McDaniel, Timot

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Liang, Ma
On 28 Oct 21:27, Jerin Jacob wrote: > On Wed, Oct 28, 2020 at 9:19 PM Ananyev, Konstantin > wrote: > > > > > > > 28/10/2020 14:49, Jerin Jacob: > > > > > > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > Hi Thomas, > > > > > > > > > I th

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Ananyev, Konstantin
> > On Wed, Oct 28, 2020 at 9:19 PM Ananyev, Konstantin > wrote: > > > > > > > > > -Original Message- > > > From: Jerin Jacob > > > Sent: Wednesday, October 28, 2020 3:40 PM > > > To: Ananyev, Konstantin > > > Cc: Thomas Monjalon ; Ma, Liang J > > > ; dpdk-dev ; Ruifeng Wang (Arm > >

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Liang, Ma
On 28 Oct 21:31, Jerin Jacob wrote: > On Wed, Oct 28, 2020 at 9:14 PM Liang, Ma wrote: > > > > On 28 Oct 21:06, Jerin Jacob wrote: > > > On Wed, Oct 28, 2020 at 9:00 PM Liang, Ma wrote: > > > > > > > > On 28 Oct 20:44, Jerin Jacob wrote: > > > > > On Wed, Oct 28, 2020 at 8:27 PM Ananyev, Konstant

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Jerin Jacob
On Wed, Oct 28, 2020 at 9:14 PM Liang, Ma wrote: > > On 28 Oct 21:06, Jerin Jacob wrote: > > On Wed, Oct 28, 2020 at 9:00 PM Liang, Ma wrote: > > > > > > On 28 Oct 20:44, Jerin Jacob wrote: > > > > On Wed, Oct 28, 2020 at 8:27 PM Ananyev, Konstantin > > > > wrote: > > > > > > > > > > > > > > > >

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Jerin Jacob
On Wed, Oct 28, 2020 at 9:19 PM Ananyev, Konstantin wrote: > > > > > -Original Message- > > From: Jerin Jacob > > Sent: Wednesday, October 28, 2020 3:40 PM > > To: Ananyev, Konstantin > > Cc: Thomas Monjalon ; Ma, Liang J > > ; dpdk-dev ; Ruifeng Wang (Arm > > Technology China) ; Wang,

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob > Sent: Wednesday, October 28, 2020 3:40 PM > To: Ananyev, Konstantin > Cc: Thomas Monjalon ; Ma, Liang J > ; dpdk-dev ; Ruifeng Wang (Arm > Technology China) ; Wang, Haiyue > ; Richardson, Bruce > ; Hunt, David ; Neil Horman > ; McDaniel, Tim

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Liang, Ma
On 28 Oct 21:06, Jerin Jacob wrote: > On Wed, Oct 28, 2020 at 9:00 PM Liang, Ma wrote: > > > > On 28 Oct 20:44, Jerin Jacob wrote: > > > On Wed, Oct 28, 2020 at 8:27 PM Ananyev, Konstantin > > > wrote: > > > > > > > > > > > > > > > > > 28/10/2020 14:49, Jerin Jacob: > > > > > > On Wed, Oct 28, 20

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Jerin Jacob
On Wed, Oct 28, 2020 at 9:04 PM Ananyev, Konstantin wrote: > > > > > > > 28/10/2020 14:49, Jerin Jacob: > > > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma > > > > > wrote: > > > > > > > > > > > > Hi Thomas, > > > > > > I think I addressed all of the questions in relation to V9. I > > > > > >

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Jerin Jacob
On Wed, Oct 28, 2020 at 9:00 PM Liang, Ma wrote: > > On 28 Oct 20:44, Jerin Jacob wrote: > > On Wed, Oct 28, 2020 at 8:27 PM Ananyev, Konstantin > > wrote: > > > > > > > > > > > > > 28/10/2020 14:49, Jerin Jacob: > > > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma > > > > > wrote: > > > > > > >

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Ananyev, Konstantin
> > > 28/10/2020 14:49, Jerin Jacob: > > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma wrote: > > > > > > > > > > Hi Thomas, > > > > > I think I addressed all of the questions in relation to V9. I don't > > > > > think I can solve the issue of a generic API on my own. From the > > > Community

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Liang, Ma
On 28 Oct 20:44, Jerin Jacob wrote: > On Wed, Oct 28, 2020 at 8:27 PM Ananyev, Konstantin > wrote: > > > > > > > > > 28/10/2020 14:49, Jerin Jacob: > > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma wrote: > > > > > > > > > > Hi Thomas, > > > > > I think I addressed all of the questions in relat

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Jerin Jacob
On Wed, Oct 28, 2020 at 8:27 PM Ananyev, Konstantin wrote: > > > > > 28/10/2020 14:49, Jerin Jacob: > > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma wrote: > > > > > > > > Hi Thomas, > > > > I think I addressed all of the questions in relation to V9. I don't > > > > think I can solve the issue

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Ananyev, Konstantin
> 28/10/2020 14:49, Jerin Jacob: > > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma wrote: > > > > > > Hi Thomas, > > > I think I addressed all of the questions in relation to V9. I don't > > > think I can solve the issue of a generic API on my own. From the > Community Call last week Jerin also

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Thomas Monjalon
28/10/2020 14:49, Jerin Jacob: > On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma wrote: > > > > Hi Thomas, > > I think I addressed all of the questions in relation to V9. I don't think > > I can solve the issue of a generic API on my own. From the Community Call > > last week Jerin also said that a

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Jerin Jacob
On Wed, Oct 28, 2020 at 7:05 PM Liang, Ma wrote: > > Hi Thomas, > I think I addressed all of the questions in relation to V9. I don't think I > can solve the issue of a generic API on my own. From the Community Call last > week Jerin also said that a generic was investigated but that a single

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Liang, Ma
Hi Thomas, I think I addressed all of the questions in relation to V9. I don't think I can solve the issue of a generic API on my own. From the Community Call last week Jerin also said that a generic was investigated but that a single solution wasn't feasible. This API is experimental and oth

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-28 Thread Liang, Ma
On 27 Oct 13:53, Ajit Khaparde wrote: > On Tue, Oct 27, 2020 at 7:59 AM Liang Ma wrote: > > > > This patchset proposes a simple API for Ethernet drivers > > to cause the CPU to enter a power-optimized state while > > waiting for packets to arrive, along with a set of > > generic intrinsics that fa

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-27 Thread Ajit Khaparde
On Tue, Oct 27, 2020 at 7:59 AM Liang Ma wrote: > > This patchset proposes a simple API for Ethernet drivers > to cause the CPU to enter a power-optimized state while > waiting for packets to arrive, along with a set of > generic intrinsics that facilitate that. This is achieved > through cooperat

Re: [dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-27 Thread Thomas Monjalon
Please be more patient. I asked some questions on v9 (ethdev API is not generic enough), and you send a v10 in the same minute you reply, without making sure I agree with your answers.

[dpdk-dev] [PATCH v10 0/9] Add PMD power mgmt

2020-10-27 Thread Liang Ma
This patchset proposes a simple API for Ethernet drivers to cause the CPU to enter a power-optimized state while waiting for packets to arrive, along with a set of generic intrinsics that facilitate that. This is achieved through cooperation with the NIC driver that will allow us to know address of