#
7f2a987c |
| 10-Jan-2025 |
Andre Muezerie <andremue@linux.microsoft.com> |
examples: replace packed attributes
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro
examples: replace packed attributes
MSVC struct packing is not compatible with GCC. Replace macro __rte_packed with __rte_packed_begin to push existing pack value and set packing to 1-byte and macro __rte_packed_end to restore the pack value prior to the push.
Macro __rte_packed_end is deliberately utilized to trigger a MSVC compiler warning if no existing packing has been pushed allowing easy identification of locations where the __rte_packed_begin is missing.
Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
show more ...
|
#
4d23d39f |
| 11-Nov-2024 |
Huisong Li <lihuisong@huawei.com> |
examples/l3fwd-power: add PM QoS configuration
The '--cpu-resume-latency' can use to control C-state selection. Setting the CPU resume latency to 0 can limit the CPU just to enter C0-state to improv
examples/l3fwd-power: add PM QoS configuration
The '--cpu-resume-latency' can use to control C-state selection. Setting the CPU resume latency to 0 can limit the CPU just to enter C0-state to improve performance, which also may increase the power consumption of platform.
Signed-off-by: Huisong Li <lihuisong@huawei.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
show more ...
|
#
0bc4795d |
| 11-Nov-2024 |
Huisong Li <lihuisong@huawei.com> |
examples/l3fwd-power: fix options parsing overflow
Many variables are 'uint32_t', like, 'pause_duration', 'scale_freq_min' and so on. They use parse_int() to parse it from command line. But overflow
examples/l3fwd-power: fix options parsing overflow
Many variables are 'uint32_t', like, 'pause_duration', 'scale_freq_min' and so on. They use parse_int() to parse it from command line. But overflow problem occurs when this function return.
Fixes: 59f2853c4cae ("examples/l3fwd_power: add configuration options") Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com>
show more ...
|
#
f30a1bbd |
| 28-Oct-2024 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
power: rename files for CPU frequency management
This patch renames the existing core power library source files from rte_power.* to rte_power_cpufreq.* for better clarity
Signed-off-by: Sivaprasad
power: rename files for CPU frequency management
This patch renames the existing core power library source files from rte_power.* to rte_power_cpufreq.* for better clarity
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com>
show more ...
|
#
b21cf7d3 |
| 28-Oct-2024 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
test/power: remove function pointer validations
After refactoring the power library, power management operations will be consistently supported regardless of the operating environment, making functi
test/power: remove function pointer validations
After refactoring the power library, power management operations will be consistently supported regardless of the operating environment, making function pointer checks unnecessary and thus removed from applications.
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com>
show more ...
|
#
548de909 |
| 26-Mar-2024 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
examples: fix port ID restriction
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS.
The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS.
examples: fix port ID restriction
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS.
The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS.
Fixes: af75078fece3 ("first public release") Fixes: f88e7c175a68 ("examples/l3fwd-power: add high/regular perf cores options") Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-based l3fwd skeleton") Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application") Cc: stable@dpdk.org
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
4b978938 |
| 26-Mar-2024 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
examples: 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 fixes these constraints by allowing all lc
examples: 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 fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES.
Fixes: af75078fece3 ("first public release") Fixes: f88e7c175a68 ("examples/l3fwd-power: add high/regular perf cores options") Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-based l3fwd skeleton") Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application") Fixes: 0e8f47491f09 ("examples/vm_power: add command to query CPU frequency") Fixes: de3cfa2c9823 ("sched: initial import") Cc: stable@dpdk.org
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
b23c5bd7 |
| 26-Mar-2024 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
examples: fix queue ID restriction
Currently application supports Rx queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256.
The pa
examples: fix queue ID restriction
Currently application supports Rx queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256.
The patch fixes these constraints by increasing the Rx queue IDs to support up to 65535.
Fixes: af75078fece3 ("first public release") Fixes: f88e7c175a68 ("examples/l3fwd-power: add high/regular perf cores options") Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-based l3fwd skeleton") Cc: stable@dpdk.org
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
7e06c0de |
| 15-Apr-2024 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
examples: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment
examples: move alignment attribute on types for MSVC
Move location of __rte_aligned(a) to new conventional location. The new placement between {struct,union} and the tag allows the desired alignment to be imparted on the type regardless of the toolchain being used for both C and C++. Additionally, it avoids confusion by Doxygen when generating documentation.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
8bae59ed |
| 05-Dec-2023 |
Stephen Hemminger <stephen@networkplumber.org> |
power: use a dynamic logtype
Use dynamic log type for power library.
Convert existing examples with either writing to stderr, or their own dynamic logtype.
Signed-off-by: Stephen Hemminger <stephe
power: use a dynamic logtype
Use dynamic log type for power library.
Convert existing examples with either writing to stderr, or their own dynamic logtype.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: David Hunt <david.hunt@intel.com>
show more ...
|
#
3b3af56d |
| 26-Oct-2023 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
power: fix uncore configuration
Add uncore auto-detect environment.
Update the l3fwd-power app to configure the uncore env before invoking any uncore API. With auto-detection in 'rte_power_uncore_i
power: fix uncore configuration
Add uncore auto-detect environment.
Update the l3fwd-power app to configure the uncore env before invoking any uncore API. With auto-detection in 'rte_power_uncore_init()' it is too late because other APIs already called.
Bugzilla ID: 1304 Fixes: ac1edcb6621a ("power: refactor uncore power management API")
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com> Tested-by: Karen Kelly <karen.kelly@intel.com> Acked-by: David Hunt <david.hunt@intel.com>
show more ...
|
#
ac1edcb6 |
| 16-Aug-2023 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
power: refactor uncore power management API
Currently the uncore power management implementation is vendor specific.
Added new vendor agnostic uncore power interface similar to rte_power and rename
power: refactor uncore power management API
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: Sivaprasad Tummala <sivaprasad.tummala@amd.com>
show more ...
|
#
1ed04d33 |
| 09-Oct-2023 |
Sivaprasad Tummala <sivaprasad.tummala@amd.com> |
power: support amd-pstate cpufreq driver
amd-pstate introduces a new CPU frequency control mechanism for AMD EPYC processors using the ACPI Collaborative Performance Power Control feature for a fine
power: support amd-pstate cpufreq driver
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.
Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala@amd.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
bc6fe484 |
| 31-Jan-2023 |
Jie Hai <haijie1@huawei.com> |
examples/l3fwd-power: support CPPC cpufreq
Currently the l3fwd-power only supports ACPI cpufreq and Pstate cpufreq, This patch adds CPPC cpufreq.
Signed-off-by: Jie Hai <haijie1@huawei.com> Acked-b
examples/l3fwd-power: support CPPC cpufreq
Currently the l3fwd-power only supports ACPI cpufreq and Pstate cpufreq, This patch adds CPPC cpufreq.
Signed-off-by: Jie Hai <haijie1@huawei.com> Acked-by: David Hunt <david.hunt@intel.com> Acked-by: Dongdong Liu <liudongdong3@huawei.com>
show more ...
|
#
9c75ff42 |
| 08-Feb-2023 |
David Hunt <david.hunt@intel.com> |
power: remove experimental empty poll API
The API "empty poll" is removed, which has been in an experimental state since it was added.
This API is no longer needed as it is superseded by the PMD Po
power: remove experimental empty poll API
The API "empty poll" is removed, which has been in an experimental state since it was added.
This API is no longer needed as it is superseded by the PMD Power Management monitor/pause/scale callback mechanism.
Signed-off-by: David Hunt <david.hunt@intel.com> Acked-by: Reshma Pattan <reshma.pattan@intel.com>
show more ...
|
#
af0785a2 |
| 12-Jan-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
rename telemetry u64 functions to uint versions
Within the DPDK code-base, replace all occurrences of "rte_tel_data_add_array_u64" with "rte_tel_data_add_array_uint", and similarly replace all occur
rename telemetry u64 functions to uint versions
Within the DPDK code-base, replace all occurrences of "rte_tel_data_add_array_u64" with "rte_tel_data_add_array_uint", and similarly replace all occurrences of "rte_tel_data_add_dict_u64" with "rte_tel_data_add_dict_uint". This allows us to later mark the older functions as deprecated without hitting warnings.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
#
10db2a5b |
| 06-Oct-2022 |
Tadhg Kearney <tadhg.kearney@intel.com> |
examples/l3fwd-power: add options for uncore frequency
Add option for setting uncore frequency min/max/index, through uncore API. This will be set for each package and die on the SKU. On exit, uncor
examples/l3fwd-power: add options for uncore frequency
Add option for setting uncore frequency min/max/index, through uncore API. This will be set for each package and die on the SKU. On exit, uncore min and max frequency will be reverted back to previous frequencies.
Signed-off-by: Tadhg Kearney <tadhg.kearney@intel.com> Reviewed-by: David Hunt <david.hunt@intel.com> Acked-by: David Hunt <david.hunt@intel.com>
show more ...
|
#
8d54b1ec |
| 12-Aug-2022 |
Xuan Ding <xuan.ding@intel.com> |
ethdev: remove Rx header split port offload
As announced in the deprecation note, remove the Rx offload flag 'RTE_ETH_RX_OFFLOAD_HEADER_SPLIT' and 'split_hdr_size' field from the structure 'rte_eth_
ethdev: remove Rx header split port offload
As announced in the deprecation note, remove the Rx offload flag 'RTE_ETH_RX_OFFLOAD_HEADER_SPLIT' and 'split_hdr_size' field from the structure 'rte_eth_rxmode'. Meanwhile, the place where the examples and apps initialize the 'split_hdr_size' field, and where the drivers check if the 'split_hdr_size' value is 0 are also removed.
User can still use `RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT` for per-queue packet split offload, which is configured by 'rte_eth_rxseg_split'.
Signed-off-by: Xuan Ding <xuan.ding@intel.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
show more ...
|
#
4ed89049 |
| 04-Oct-2022 |
David Marchand <david.marchand@redhat.com> |
remove prefix to some local macros in apps and examples
RTE_TEST_[RT]X_DESC_DEFAULT and RTE_TEST_[RT]X_DESC_MAX macros have been copied in a lot of app/ and examples/ code. Those macros are local to
remove prefix to some local macros in apps and examples
RTE_TEST_[RT]X_DESC_DEFAULT and RTE_TEST_[RT]X_DESC_MAX macros have been copied in a lot of app/ and examples/ code. Those macros are local to each program.
They are not related to a DPDK public header/API, drop the RTE_TEST_ prefix.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
59f2853c |
| 02-Jun-2022 |
Kevin Laatz <kevin.laatz@intel.com> |
examples/l3fwd_power: add configuration options
Add CLI options to l3fwd_power to utilize the new power APIs introduced in this patchset. These CLI options allow the user to configure the heuritstic
examples/l3fwd_power: add configuration options
Add CLI options to l3fwd_power to utilize the new power APIs introduced in this patchset. These CLI options allow the user to configure the heuritstics made available through the new API via the l3fwd_power application options.
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
0f4611cc |
| 23-Nov-2021 |
David Hunt <david.hunt@intel.com> |
examples/l3fwd-power: revert wakeup log
Wakeup happens quite often (several hundred times a second) in l3fwd-power example app in PMD power management mode, so this message is appearing too often to
examples/l3fwd-power: revert wakeup log
Wakeup happens quite often (several hundred times a second) in l3fwd-power example app in PMD power management mode, so this message is appearing too often to be useful. This patch reverts that info message addition.
Fixes: 931e3a994597 ("examples/l3fwd-power: add wakeup log")
Signed-off-by: David Hunt <david.hunt@intel.com> Tested-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Reshma Pattan <reshma.pattan@intel.com>
show more ...
|
#
931e3a99 |
| 17-Nov-2021 |
Miao Li <miao.li@intel.com> |
examples/l3fwd-power: add wakeup log
This patch adds a log in main telemetry loop to show the thread has woken up and begun to send and receive packets.
Signed-off-by: Miao Li <miao.li@intel.com> A
examples/l3fwd-power: add wakeup log
This patch adds a log in main telemetry loop to show the thread has woken up and begun to send and receive packets.
Signed-off-by: Miao Li <miao.li@intel.com> Acked-by: David Hunt <david.hunt@intel.com>
show more ...
|
#
19781e7a |
| 29-Oct-2021 |
Harneet Singh <harneet.singh@intel.com> |
examples/l3fwd-power: fix early shutdown
Currently, EAL init cannot be interrupted with SIGINT because the signal handler is already overridden by the time EAL init happens.
Fix it by moving signal
examples/l3fwd-power: fix early shutdown
Currently, EAL init cannot be interrupted with SIGINT because the signal handler is already overridden by the time EAL init happens.
Fix it by moving signal handler installation to after EAL initialization, to allow SIGNIT to interrupt EAL initialization.
Fixes: d7937e2e3d12 ("power: initial import") Fixes: 613ce6691c0d ("examples/l3fwd-power: implement proper shutdown") Cc: stable@dpdk.org
Signed-off-by: Harneet Singh <harneet.singh@intel.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
f0b00d98 |
| 25-Oct-2021 |
Miao Li <miao.li@intel.com> |
examples/l3fwd-power: support virtio/vhost
In l3fwd-power, there is default port configuration which requires RSS and IPv4/UDP/TCP checksum. Once device does not support these, the l3fwd-power will
examples/l3fwd-power: support virtio/vhost
In l3fwd-power, there is default port configuration which requires RSS and IPv4/UDP/TCP checksum. Once device does not support these, the l3fwd-power will exit and report an error. This patch updates the port configuration based on device capabilities after getting the device information to support devices like virtio and vhost.
Signed-off-by: Miao Li <miao.li@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: David Hunt <david.hunt@intel.com>
show more ...
|