doc: add removal note for power empty poll API
PATCH 1/1 doc: add removal note for power empty poll API
Add removal note for experimental empty poll API.
--- doc/guides/prog_guide/power_man.rst | 6 ++++++ 1 file changed, 6 insertions(+)
doc/guides/prog_guide/power_man.rst +6 -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. +Suggest to use new lcore poll busyness APIs added in 22.11. + + Ethernet PMD Power Management API ---------------------------------
Signature · 1 line
2.27.0
Quoted 16 lines · Reshma Pattan
Add removal note for experimental empty poll API.
CC David Hunt <[email protected]>Signed-off-by Reshma Pattan <[email protected]>--- doc/guides/prog_guide/power_man.rst | 6 ++++++ 1 file changed, 6 insertions(+)doc/guides/prog_guide/power_man.rst +0
-0@@ -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.
PATCH v2 1/1 doc: add removal note for power empty poll API
In reply to Reshma PattanAdd removal note for experimental empty poll API.
--- doc/guides/prog_guide/power_man.rst | 6 ++++++ 1 file changed, 6 insertions(+)
doc/guides/prog_guide/power_man.rst +6 -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. + + Ethernet PMD Power Management API ---------------------------------
Signature · 1 line
2.31.1
05/10/2022 10:44, Reshma Pattan:
Quoted 6 lines
Add removal note for experimental empty poll API.
CC David Hunt <[email protected]>Signed-off-by Reshma Pattan <[email protected]>Acked-by 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.
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 .
PATCH v3 1/1 doc: add removal note for power empty poll API
In reply to Reshma PattanAdd removal note for experimental empty poll API.
--- doc/guides/prog_guide/power_man.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
doc/guides/prog_guide/power_man.rst +8 -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. + + Ethernet PMD Power Management API ---------------------------------
Signature · 1 line
2.31.1
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?
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.
PATCH v4 1/1 doc: add removal warning for power empty poll API
In reply to Reshma PattanAdd removal warning for experimental empty poll API.
--- doc/guides/prog_guide/power_man.rst | 9 +++++++++ 1 file changed, 9 insertions(+)
doc/guides/prog_guide/power_man.rst +9 -0
@@ -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
PATCH v5 1/1 doc: add removal warning for power empty poll API
Add removal warning for experimental empty poll API.
--- doc/guides/prog_guide/power_man.rst | 8 ++++++++ 1 file changed, 8 insertions(+)
doc/guides/prog_guide/power_man.rst +8 -0
@@ -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
Thomas Monjalon
AppliedRe: [PATCH v5] doc: add removal warning for power empty poll API
02/11/2022 13:41, Reshma Pattan:
Quoted 6 lines
Add removal warning for experimental empty poll API.
CC David Hunt <[email protected]>Signed-off-by Reshma Pattan <[email protected]>Acked-by David Hunt <[email protected]>
Applied, thanks.