Re: [dpdk-dev] [PATCH v3 2/6] ethdev: add simple power management API

2020-09-14 Thread Liang, Ma
agree, will be addressed On 04 Sep 09:37, Stephen Hemminger wrote: > On Fri, 4 Sep 2020 11:18:56 +0100 > Liang Ma wrote: > > > > > +#define ETH_EMPTYPOLL_MAX 512 /**< Empty poll number threshlold */ > > Spelling here. > > Also, shouldn't this be a per-device (or per-queue) configur

Re: [dpdk-dev] [PATCH v3 2/6] ethdev: add simple power management API

2020-09-04 Thread Ananyev, Konstantin
> Add a simple API allow ethdev get the last > available queue descriptor address from PMD. > Also include internal structure update. > > Signed-off-by: Liang Ma > Signed-off-by: Anatoly Burakov > --- > lib/librte_ethdev/rte_ethdev.h | 22 ++ > lib/librte_ethdev/rte_ethdev_core

Re: [dpdk-dev] [PATCH v3 2/6] ethdev: add simple power management API

2020-09-04 Thread Stephen Hemminger
On Fri, 4 Sep 2020 11:18:56 +0100 Liang Ma wrote: > +#define ETH_EMPTYPOLL_MAX 512 /**< Empty poll number threshlold */ Spelling here. Also, shouldn't this be a per-device (or per-queue) configuration value.

[dpdk-dev] [PATCH v3 2/6] ethdev: add simple power management API

2020-09-04 Thread Liang Ma
Add a simple API allow ethdev get the last available queue descriptor address from PMD. Also include internal structure update. Signed-off-by: Liang Ma Signed-off-by: Anatoly Burakov --- lib/librte_ethdev/rte_ethdev.h | 22 ++ lib/librte_ethdev/rte_ethdev_core.h | 46 ++