Add co-maintainer for power library.
Signed-off-by: Sivaprasad Tummala
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4083658697..d4d7546eb6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1668,6 +1668,7 @@ F: lib/pci/
Power management
M
Signed-off-by: Sivaprasad Tummala
---
config/meson.build | 5 +
1 file changed, 5 insertions(+)
diff --git a/config/meson.build b/config/meson.build
index d56b0f9bce..e776870def 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -159,8 +159,13 @@ if not is_ms_compil
")
Cc: karen.ke...@intel.com
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 6 ++
lib/power/rte_power_uncore.c | 7 +++
lib/power/rte_power_uncore.h | 9 +
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fw
Signed-off-by: Sivaprasad Tummala
Acked-by: Bruce Richardson
---
v2:
- fix build issues on arm platforms
---
config/meson.build | 10 ++
1 file changed, 10 insertions(+)
diff --git a/config/meson.build b/config/meson.build
index d56b0f9bce..bd0918bb62 100644
--- a/config/meson.build
++
Current get_tsc_freq_arch() implementation is specific for
Intel processors.
Added vendor checks to gracefully return on AMD EPYC processors.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/rte_cycles.c | 16
1 file changed, 16 insertions(+)
diff --git a/lib/eal/x86
From: Sivaprasad Tummala
By default, max lcores are limited to 128 for x86 platforms.
On AMD EPYC processors, this limit needs to be increased to
leverage all the cores.
The patch adjusts the limit specifically for native compilation
on AMD EPYC CPUs.
Signed-off-by: Sivaprasad Tummala
amd-pstate introduces a new CPU frequency control mechanism for AMD
EPYC processors using the ACPI Collaborative Performance Power Control
feature for a finer grained frequency management.
Patch to add support for amd-pstate driver.
Signed-off-by: Sivaprasad Tummala
v2:
1. error logged when
amd-pstate introduces a new CPU frequency control mechanism for AMD
EPYC processors using the ACPI Collaborative Performance Power Control
feature for a finer grained frequency management.
Patch to add support for amd-pstate driver.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
Add a new CPUID flag to indicate support for monitorx instruction
on AMD EPYC processors.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
---
lib/eal/x86/include/rte_cpuflags.h | 1 +
lib/eal/x86/rte_cpuflags.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/lib/eal
current x86 power monitor implementation fails on platforms
with only monitor supported and not power_pause.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
---
lib/eal/x86/rte_power_intrinsics.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/eal/x86
mwaitx allows EPYC processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
---
lib/eal/x86/rte_power_intrinsics.c | 108
amd-pstate introduces a new CPU frequency control mechanism for AMD
EPYC processors using the ACPI Collaborative Performance Power Control
feature for a finer grained frequency management.
Patch to add support for amd-pstate driver.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
A new API to allow power monitoring condition on event port to
optimize power when no events are arriving on an event port for
the worker core to process in an eventdev based pipelined application.
Signed-off-by: Sivaprasad Tummala
---
lib/eventdev/eventdev_pmd.h | 22
Currently sw eventdev pmd does not support ``rte_power_monitor`` api.
This patch adds support by adding monitor callback that is called
whenever we enter sleep state and need to check if it is time to
wake up.
Signed-off-by: Sivaprasad Tummala
---
drivers/event/sw/sw_evdev.c| 1
This patch adds support for an event dequeue callbacks when configured
to allow additional processing, power management (frequency scaling,
monitor/sleep etc.,) and soon.
Signed-off-by: Sivaprasad Tummala
---
config/rte_config.h| 3 +++
drivers/event/sw/sw_evdev_worker.c | 5
to the application.
Signed-off-by: Sivaprasad Tummala
---
lib/eventdev/eventdev_pmd.h | 38 +++
lib/eventdev/eventdev_private.c | 2 +
lib/eventdev/rte_eventdev.c | 107 +++
lib/eventdev/rte_eventdev.h | 95 +++
lib
-off-by: Sivaprasad Tummala
---
lib/power/meson.build | 2 +-
lib/power/rte_power_pmd_mgmt.c | 226 +
lib/power/rte_power_pmd_mgmt.h | 55
lib/power/version.map | 4 +
4 files changed, 286 insertions(+), 1 deletion(-)
diff --git a/lib
orts.
Signed-off-by: Sivaprasad Tummala
---
.../sample_app_ug/eventdev_pipeline.rst | 3 +-
examples/eventdev_pipeline/main.c | 64 ++-
examples/eventdev_pipeline/pipeline_common.h | 1 +
.../pipeline_worker_generic.c | 1 +
4 files changed,
To allow new cpu features to be added without ABI breakage,
RTE_CPUFLAG_NUMFLAGS will be removed in DPDK 23.11 release.
Signed-off-by: Sivaprasad Tummala
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc
Deprecation notice to add "rte_eventdev_port_data" field to
``rte_event_fp_ops`` for callback support.
Signed-off-by: Sivaprasad Tummala
---
doc/guides/rel_notes/deprecation.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides
Deprecation notice to add "rte_eventdev_port_data" field to
``rte_event_fp_ops`` for callback support.
Signed-off-by: Sivaprasad Tummala
---
doc/guides/rel_notes/deprecation.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU
features without breaking ABI each time.
Signed-off-by: Sivaprasad Tummala
---
app/test/test_cpuflags.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c
index a0e342ae48
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU
features without breaking ABI each time.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/arm/include/rte_cpuflags_32.h| 1 -
lib/eal/arm/include/rte_cpuflags_64.h| 1 -
lib/eal/arm/rte_cpuflags.c | 7 +--
lib/eal
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU
features without breaking ABI each time.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/arm/include/rte_cpuflags_32.h| 1 -
lib/eal/arm/include/rte_cpuflags_64.h| 1 -
lib/eal/arm/rte_cpuflags.c | 7 +--
lib/eal
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU
features without breaking ABI each time.
Signed-off-by: Sivaprasad Tummala
---
app/test/test_cpuflags.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c
index a0e342ae48
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power interface similar to rte_power
and rename specific implementations ("rte_power_intel_uncore") to
"power_intel_uncore" along with functions.
Signed-off-by: Sivapras
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power management implementation similar
to rte_power and rename specific implementations ("rte_power_intel_uncore")
to "power_intel_uncore" along with functions.
Signe
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power interface similar to rte_power
and rename specific implementations ("rte_power_intel_uncore") to
"power_intel_uncore" along with functions.
Signed-off-by: Sivapras
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power management implementation similar
to rte_power and rename specific implementations ("rte_power_intel_uncore")
to "power_intel_uncore" along with functions.
Signe
Add a new CPUID flag to indicate support for monitorx instruction
on AMD EPYC processors.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
---
Depends-on: series-29173 ("test/cpuflags: removed test for NUMFLAGS")
---
lib/eal/x86/include/rte_cpuflags.h | 2 +-
l
current x86 power monitor implementation fails on platforms
with only monitor supported and not power_pause.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
---
lib/eal/x86/rte_power_intrinsics.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/eal/x86
mwaitx allows EPYC processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
Acked-by: Anatoly Burakov
---
lib/eal/x86/rte_power_intrinsics.c | 77
AMD Epyc processors doesn't support get_tsc_freq_arch().
The patch allows graceful return to allow fallback to
alternate TSC calibration.
Fixes: 3dbc565e81a0 ("timer: honor arch-specific TSC frequency query")
Cc: jerin.ja...@caviumnetworks.com
Cc: sta...@dpdk.org
Signed-off
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd/m
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 12 +++-
examples/l3fwd-power/main.h | 2 +-
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index f4adcf41b5..1f0ac3e660 100644
--- a/exam
rg
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-graph/main.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/l3fwd-graph/main.c b/examples/l3fwd-graph/main.c
index 96cb1c81ff..149677a3cc 100644
--- a/examples/l3fwd-graph/main.c
+++ b/examples/l
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: de3cfa2c9823 ("sched: initial import")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/qos_sc
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/ipsec-secgw/event_helper.h | 2 +-
examples/ipsec-secgw/ipsec-secgw.c | 12 +++-
examples/ipsec-secgw/ipsec.c| 2 +-
3 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/examples/ipsec-secgw/event_helper.h
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
b/examples/vm_power_manager/guest_cli/vm_power_cli_gue
With modern CPUs, it is possible to have higher
CPU count thus we can have higher RTE_MAX_LCORES.
In DPDK sample applications, the current config
lcore options are hard limited to 255.
The patchset fixes these constraints by allowing
all lcore IDs up to RTE_MAX_LCORES.
Sivaprasad Tummala (6
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd/m
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 16 +---
examples/l3fwd-power/main.h | 2 +-
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index f4adcf41b5..bb9da36455 100644
---
rg
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-graph/main.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/examples/l3fwd-graph/main.c b/examples/l3fwd-graph/main.c
index 96cb1c81ff..6d3116aa7b 100644
--- a/examples/l3fwd-graph/main.c
+++ b/examples/l
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: de3cfa2c9823 ("sched: initial import")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/qos_sc
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/ipsec-secgw/event_helper.h | 2 +-
examples/ipsec-secgw/ipsec-secgw.c | 16 +---
examples/ipsec-secgw/ipsec.c| 2 +-
3 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/examples/ipsec-secgw/event_h
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
b/examples/vm_power_manager/guest_cli/vm_power_cli_gue
With modern CPUs, it is possible to have higher
CPU count thus we can have higher RTE_MAX_LCORES.
In DPDK sample applications, the current config
lcore options are hard limited to 255.
The patchset fixes these constraints by allowing
all lcore IDs up to RTE_MAX_LCORES.
Sivaprasad Tummala (6
With modern CPUs, it is possible to have higher
CPU count thus we can have higher RTE_MAX_LCORES.
In DPDK sample applications, the current config
lcore options are hard limited to 255.
The patchset fixes these constraints by allowing
all lcore IDs up to RTE_MAX_LCORES.
Sivaprasad Tummala (6
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
Acked-by: Konstant
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 57
examples/l3fwd-power/main.h | 4 +--
examples/l3fwd-power/perf_core.c | 10 +++---
3 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/examples/l3fwd-powe
rg
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-graph/main.c | 31 ---
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/examples/l3fwd-graph/main.c b/examples/l3fwd-graph/main.c
index 96cb1c81ff..ffb6900fee 100644
--- a/examples/l3fwd-graph/ma
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
Acked-by: Konstantin Ananyev
---
examples/ipsec-secgw/event_helper.h | 2 +-
examples/ipsec-secgw/ipsec-secgw.c | 32 ++---
examples/ipsec-secgw/ipsec.c| 2 +-
examples/ipsec-secgw/ipsec.h| 2 +-
examples/i
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: de3cfa2c9823 ("sched: initial import")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/qos_sc
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
b/examples/vm_power_manager/guest_cli/vm_power_cli_gue
With modern CPUs, it is possible to have higher
CPU count thus we can have higher RTE_MAX_LCORES.
In DPDK sample applications, the current config
lcore options are hard limited to 255.
The patchset fixes these constraints by allowing
all lcore IDs up to RTE_MAX_LCORES.
Sivaprasad Tummala (6
adjusts the limit
for specific AMD EPYC target/cross builds.
Signed-off-by: Sivaprasad Tummala
---
config/x86/meson.build | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/config/x86/meson.build b/config/x86/meson.build
index 5355731cef..f2df4c2003 100644
--- a/config/x86
adjusts the limit
for specific AMD EPYC target/cross builds.
Signed-off-by: Sivaprasad Tummala
Acked-by: Morten Brørup
---
config/x86/meson.build | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/config/x86/meson.build b/config/x86/meson.build
index 5355731cef..8087b9ae91
with queue_id type
in ipsec-secgw
v3:
- updated queue_id type to uint16_t
v2:
- fixed typo with lcore_id type in l3fwd
Sivaprasad Tummala (6):
examples/l3fwd: fix lcore ID restriction
examples/l3fwd-power: fix lcore ID restriction
examples/l3fwd-graph: fix lcore ID restriction
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
Acked-by: Konstant
rg
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-graph/main.c | 31 ---
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/examples/l3fwd-graph/main.c b/examples/l3fwd-graph/main.c
index 96cb1c81ff..ffb6900fee 100644
--- a/examples/l3fwd-graph/ma
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 57
examples/l3fwd-power/main.h | 4 +--
examples/l3fwd-power/perf_core.c | 10 +++---
3 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/examples/l3fwd-powe
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
Acked-by: Konstantin Ananyev
---
examples/ipsec-secgw/event_helper.h | 2 +-
examples/ipsec-secgw/ipsec-secgw.c | 34 ++---
examples/ipsec-secgw/ipsec.c| 2 +-
examples/ipsec-secgw/ipsec.h| 2 +-
examples/i
Currently the config option allows lcore IDs up to 255,
irrespective of RTE_MAX_LCORES and needs to be fixed.
The patch allows config options based on DPDK config.
Fixes: de3cfa2c9823 ("sched: initial import")
Cc: sta...@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/qos_sc
.@dpdk.org
Signed-off-by: Sivaprasad Tummala
---
examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
b/examples/vm_power_manager/guest_cli/vm_power_cli_gue
with queue_id type
in ipsec-secgw
v3:
- updated queue_id type to uint16_t
v2:
- fixed typo with lcore_id type in l3fwd
Sivaprasad Tummala (6):
examples/l3fwd: fix lcore ID restriction
examples/l3fwd-power: fix lcore ID restriction
examples/l3fwd-graph: fix lcore ID restriction
mwaitx allows epyc processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/include/generic/rte_cpuflags.h | 2 +
lib/eal/x86/include
mwaitx allows epyc processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/include/generic/rte_cpuflags.h | 2 +
lib/eal/x86/include
amd-pstate introduces a new CPU frequency control mechanism for AMD
processors using the ACPI Collaborative Performance Power Control
feature for a finer grained frequency management.
Patch to add support for amd-pstate driver.
Signed-off-by: Sivaprasad Tummala
---
app/test/test_power.c
Add a new CPUID flag to indicate support for monitorx instruction
on AMD Epyc processors.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/include/generic/rte_cpuflags.h | 2 ++
lib/eal/x86/include/rte_cpuflags.h | 1 +
lib/eal/x86/rte_cpuflags.c | 3 +++
3 files changed, 6
mwaitx allows epyc processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/rte_power_intrinsics.c | 83 --
lib
A new flag RTE_CPUFLAG_MONITORX is added to rte_cpu_flag_t in
DPDK 23.07 release to support monitorx instruction on Epyc processors.
This results in ABI breakage for legacy apps.
Signed-off-by: Sivaprasad Tummala
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions
A new flag RTE_CPUFLAG_MONITORX is added to rte_cpu_flag_t in
DPDK 23.07 release to support monitorx instruction on EPYC processors.
This results in ABI breakage for legacy apps.
Signed-off-by: Sivaprasad Tummala
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions
Add a new CPUID flag to indicate support for monitorx instruction
on AMD EPYC processors.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/include/rte_cpuflags.h | 1 +
lib/eal/x86/rte_cpuflags.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/lib/eal/x86/include/rte_cpuflags.h
current x86 power monitor implementation fails on platforms
with only monitor supported and not power_pause.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/rte_power_intrinsics.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/eal/x86/rte_power_intrinsics.c
b
mwaitx allows EPYC processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/rte_power_intrinsics.c | 77 +-
1
mwaitx allows EPYC processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Sivaprasad Tummala (4):
doc: announce new cpu flag added to rte_cpu_flag_t
eal: add x86 cpuid support for
mwaitx allows EPYC processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Sivaprasad Tummala (4):
doc: announce new cpu flag added to rte_cpu_flag_t
eal: add x86 cpuid support for
Add a new CPUID flag to indicate support for monitorx instruction
on AMD EPYC processors.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/include/rte_cpuflags.h | 1 +
lib/eal/x86/rte_cpuflags.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/lib/eal/x86/include/rte_cpuflags.h
current x86 power monitor implementation fails on platforms
with only monitor supported and not power_pause.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/rte_power_intrinsics.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/eal/x86/rte_power_intrinsics.c
b
A new flag RTE_CPUFLAG_MONITORX is added to rte_cpu_flag_t in
DPDK 23.07 release to support monitorx instruction on EPYC processors.
This results in ABI breakage for legacy apps.
Signed-off-by: Sivaprasad Tummala
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions
mwaitx allows EPYC processors to enter a implementation dependent
power/performance optimized state (C1 state) for a specific period
or until a store to the monitored address range.
Signed-off-by: Sivaprasad Tummala
---
lib/eal/x86/rte_power_intrinsics.c | 77 +-
1
fixed the padding required to align to cacheline size.
Fixes: 54f17843a887 ("eventdev: add port maintenance API")
Cc: mattias.ronnb...@ericsson.com
Signed-off-by: Sivaprasad Tummala
---
lib/eventdev/rte_eventdev_core.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
A new API to allow power monitoring condition on event port to
optimize power when no events are arriving on an event port for
the worker core to process in an eventdev based pipelined application.
Signed-off-by: Sivaprasad Tummala
---
lib/eventdev/eventdev_pmd.h | 23
Currently sw eventdev pmd does not support ``rte_power_monitor`` api.
This patch adds support by adding monitor callback that is called
whenever we enter sleep state and need to check if it is time to
wake up.
Signed-off-by: Sivaprasad Tummala
---
drivers/event/sw/sw_evdev.c| 2
the application.
Signed-off-by: Sivaprasad Tummala
---
lib/eventdev/eventdev_pmd.h | 17
lib/eventdev/eventdev_private.c | 17
lib/eventdev/rte_eventdev.c | 78 +
lib/eventdev/rte_eventdev.h | 145 ++-
lib/eventdev
-off-by: Sivaprasad Tummala
---
lib/power/meson.build | 2 +-
lib/power/rte_power_pmd_mgmt.c | 226 +
lib/power/rte_power_pmd_mgmt.h | 55
lib/power/version.map | 4 +
4 files changed, 286 insertions(+), 1 deletion(-)
diff --git a/lib
From: Sivaprasad Tummala
Add power management feature support to eventdev_pipeline sample app.
Signed-off-by: Sivaprasad Tummala
---
examples/eventdev_pipeline/main.c | 15 ++-
examples/eventdev_pipeline/pipeline_common.h | 1 +
.../eventdev_pipeline
From: Sivaprasad Tummala
currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power interface similar to rte_power
and subsequently will rename specific implementations
("rte_power_intel_uncore") to "power_intel_uncore"
dpdk app can support multiple hardware dma instances.
with dma skeleton, only a single instance can be configured.
This patch supports multiple driver instances per device.
Signed-off-by: Sivaprasad Tummala
---
drivers/dma/skeleton/skeleton_dmadev.c | 41 +++---
1 file
dpdk app can support multiple hardware dma instances.
with dma skeleton, only a single instance can be configured.
This patch supports multiple driver instances per device.
Signed-off-by: Sivaprasad Tummala
---
drivers/dma/skeleton/skeleton_dmadev.c | 37 +++---
1 file
.
Signed-off-by: Sivaprasad Tummala
---
lib/librte_vhost/virtio_net.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 37c47c7dc..b0d3a85c2 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib
: c3ff0ac70acb ("vhost: improve performance by supporting large buffer")
Cc: sta...@dpdk.org
Cc: f...@sysclose.org
---
v2:
* fixed review comments - Maxime Coquelin
* fixed mbuf alloc errors for packed virtqueues - Maxime Coquelin
* fixed mbuf copy errors - Flavio Leitner
Signed-off-by:
opy errors - Flavio Leitner
Signed-off-by: Sivaprasad Tummala
---
lib/librte_vhost/virtio_net.c | 70 +++
1 file changed, 55 insertions(+), 15 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 1fc30c681..a85d77897 100644
l2fwd application exits, if return for rte_eth_promiscuous_enable
is not success. But for vHost PMD, promiscuous enable returns "Not
Supported".
This patch validates success and no support of promiscuous enable.
Signed-off-by: Sivaprasad Tummala
---
examples/l2fwd/main.c | 2 +-
1 fi
Added vHost PMD arguments 'linear-buffer' and 'ext-buffer'
to configure 'RTE_VHOST_USER_LINEARBUF_SUPPORT' and
'RTE_VHOST_USER_EXTBUF_SUPPORT' flags in the vhost library
Signed-off-by: Sivaprasad Tummala
---
doc/guides/nics/vhost.rst | 10 +
supported and additional features such as queue stats for
vhost devices can be useful.
With the patch, user has an option to select
vHost PMD by passing "--use-vhost-pmd" option.
Disabled by default.
Note: vHost multi-queue is not enabled on this patch.
Signed-off-by: Sivaprasad Tummala
Removed the linear buffer and zero_copy compatibility restriction.
Applications that requires packets contained in a single buffer
will enable linear buffer in vhost library. This restriction
is not allowing zero_copy mode for such cases.
Signed-off-by: Sivaprasad Tummala
---
lib/librte_vhost
supported and additional features such as queue stats for
vhost devices can be useful.
With the patch, user has an option to select
vHost PMD by passing "--use-vhost-pmd" option.
Disabled by default.
Note: vHost multi-queue is not enabled on this patch.
Signed-off-by: Sivaprasad Tummala
supported and additional features such as queue stats for
vhost devices can be useful.
With the patch, user has an option to select
vHost PMD by passing "--use-vhost-pmd" option.
Disabled by default.
Note: vHost multi-queue is not enabled on this patch.
Signed-off-by: Sivapras
supported and additional features such as queue stats for
vhost devices can be useful.
With the patch, user has an option to select
vHost PMD by passing "--use-vhost-pmd" option.
Disabled by default.
Note: vHost multi-queue is not enabled on this patch.
Signed-off-by: Sivapras
1 - 100 of 161 matches
Mail list logo