Skip to contentSkip to conversation

doc: add removal note for power empty poll API

PATCH Superseded Reshma Pattan 3 participants 11 messages Aug 2, 2022 – Nov 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add removal note for power empty poll API

Add removal note for experimental empty poll API.

CC David Hunt <[email protected]>
---
 doc/guides/prog_guide/power_man.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/guides/prog_guide/power_man.rst +6 -0
index 98cfd3c1f3..2e47d87cbb 100644
@@ -192,6 +192,12 @@ User Cases
 ----------
 The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.
 
+Removal Note
+------------
+The experimental empty poll APIs will be removed from the library in a future DPDK release.
+Suggest to use new lcore poll busyness APIs added in 22.11.
+
+
 Ethernet PMD Power Management API
 ---------------------------------
 
Signature · 1 line
2.27.0
Acked-by on v1 1/1
#1 lore raw
Quoted 16 lines · Reshma Pattan

Add removal note for experimental empty poll API.

CC David Hunt <[email protected]>
---
  doc/guides/prog_guide/power_man.rst | 6 ++++++
  1 file changed, 6 insertions(+)
doc/guides/prog_guide/power_man.rst +0 -0
index 98cfd3c1f3..2e47d87cbb 100644
@@ -192,6 +192,12 @@ User Cases
  ----------
  The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.

doc/guides/prog_guide/power_man.rst User Cases · line 203

Quoted 10 lines
doc/guides/prog_guide/power_man.rst +6 -0
 
+Removal Note
+------------
+The experimental empty poll APIs will be removed from the library in a future DPDK release.
+Suggest to use new lcore poll busyness APIs added in 22.11.
+
+
  Ethernet PMD Power Management API
  ---------------------------------
 

Hi Reshma,

Yes, these APIs will be superseded by the newer poll busyness telemetry.

#2 lore raw

PATCH v2 1/1 doc: add removal note for power empty poll API

In reply to Reshma Pattan

Add removal note for experimental empty poll API.

CC David Hunt <[email protected]>
---
 doc/guides/prog_guide/power_man.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/guides/prog_guide/power_man.rst +6 -0
index 98cfd3c1f3..9a40242dd0 100644
@@ -192,6 +192,12 @@ User Cases
 ----------
 The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.
 
+Removal Note
+------------
+The experimental empty poll APIs will be removed from the library in a future
+DPDK release.
+
+
 Ethernet PMD Power Management API
 ---------------------------------
 
Signature · 1 line
2.31.1
#3 lore raw

05/10/2022 10:44, Reshma Pattan:

Quoted 6 lines

Add removal note for experimental empty poll API.

CC David Hunt <[email protected]>

[...]

doc/guides/prog_guide/power_man.rst User Cases · line 198

Quoted 10 lines
doc/guides/prog_guide/power_man.rst +4 -0
@@ -192,6 +192,12 @@ User Cases
 ----------
 The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.
 
+Removal Note
+------------
+The experimental empty poll APIs will be removed from the library in a future
+DPDK release.

It looks common in this file to forget the empty line after a title, but please don't forget it.

I am surprised Sphinx is not complaining.

#4 lore raw
Quoted 4 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>

-- snip --

Quoted 8 lines

doc/guides/prog_guide/power_man.rst User Cases

Quoted 4 lines
doc/guides/prog_guide/power_man.rst +4 -0
+Removal Note
+------------
+The experimental empty poll APIs will be removed from the library in
+a future DPDK release.

It looks common in this file to forget the empty line after a title, but please don't forget it.

Good catch, this is addressed in v3 now .

#5 lore raw

PATCH v3 1/1 doc: add removal note for power empty poll API

In reply to Reshma Pattan

Add removal note for experimental empty poll API.

CC David Hunt <[email protected]>
---
 doc/guides/prog_guide/power_man.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/prog_guide/power_man.rst +8 -0
index 98cfd3c1f3..3b0c3373a1 100644
@@ -192,6 +192,14 @@ User Cases
 ----------
 The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.
 
+
+Removal Note
+------------
+
+The experimental empty poll APIs will be removed from the library in a future
+DPDK release.
+
+
 Ethernet PMD Power Management API
 ---------------------------------
 
Signature · 1 line
2.31.1
#6 lore raw

07/10/2022 15:40, Reshma Pattan:

doc/guides/prog_guide/power_man.rst User Cases · line 200

Quoted 12 lines
doc/guides/prog_guide/power_man.rst +6 -0
@@ -192,6 +192,14 @@ User Cases
 ----------
 The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.
 
+
+Removal Note
+------------
+
+The experimental empty poll APIs will be removed from the library in a future
+DPDK release.

After more thoughts, I think it would be better highlighted if moved at the beginning of the section "Empty Poll API".
It could a note block or a warning.

Also, could we explain how it is replaced?

#7 lore raw
Quoted 4 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>

<snip>

Quoted 10 lines

doc/guides/prog_guide/power_man.rst User Cases

Quoted 5 lines
doc/guides/prog_guide/power_man.rst +5 -0
+Removal Note
+------------
+
+The experimental empty poll APIs will be removed from the library in
+a future DPDK release.

After more thoughts, I think it would be better highlighted if moved at the beginning of the section "Empty Poll API".
It could a note block or a warning.

Quoted 2 lines

Also, could we explain how it is replaced?

The empty poll API will be removed completely, because dpdk now has power pmd modes i.e. monitor, scale and pause which can be used for power saving over empty poll API.

V4 is sent now.

#8 lore raw

PATCH v4 1/1 doc: add removal warning for power empty poll API

In reply to Reshma Pattan

Add removal warning for experimental empty poll API.

CC David Hunt <[email protected]>
---
 doc/guides/prog_guide/power_man.rst | 9 +++++++++
 1 file changed, 9 insertions(+)
doc/guides/prog_guide/power_man.rst +9 -0
index daad4d644d..88029bd079 100644
@@ -110,6 +110,14 @@ The power management mechanism is used to save power when performing L3 forwardi
 Empty Poll API
 --------------
 
+Removal Warning
+~~~~~~~~~~~~~~~
+
+The experimental empty poll APIs will be removed from the library in a future
+DPDK release. The empty poll mechanism is superseded by the power pmd modes
+i.e. monitor, pause and scale.
+
+
 Abstract
 ~~~~~~~~
 
@@ -192,6 +200,7 @@ User Cases
 ----------
 The mechanism can applied to any device which is based on polling. e.g. NIC, FPGA.
 
+
 Ethernet PMD Power Management API
 ---------------------------------
 
Signature · 1 line
2.25.1
#9 lore raw

PATCH v5 1/1 doc: add removal warning for power empty poll API

Add removal warning for experimental empty poll API.

CC David Hunt <[email protected]>
---
 doc/guides/prog_guide/power_man.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/prog_guide/power_man.rst +8 -0
index daad4d644d..0898426fba 100644
@@ -110,6 +110,14 @@ The power management mechanism is used to save power when performing L3 forwardi
 Empty Poll API
 --------------
 
+Removal Warning
+~~~~~~~~~~~~~~~
+
+The experimental empty poll APIs will be removed from the library in a future
+DPDK release. The empty poll mechanism is superseded by the power pmd modes
+i.e. monitor, pause and scale.
+
+
 Abstract
 ~~~~~~~~
 
Signature · 1 line
2.31.1