[PATCH v3 2/2] config/arm: sort SOCs alphabetically

2025-01-06 Thread Wathsala Vithanage
Order SOC configurations and names alphabetically. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 86 +- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/config/arm/meson.build b/config/arm

[PATCH v3 1/2] config/arm: strict use of -mcpu for supported CPUs

2025-01-06 Thread Wathsala Vithanage
match_extensions allowed as use of such extensions are optional. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 193 + 1 file changed, 80 insertions(+), 113 deletions(-) diff --git a/config/arm/meson.build b/config/ar

[PATCH v3 2/2] config/arm: sort SOCs alphabetically

2024-11-29 Thread Wathsala Vithanage
Order SOC configurations and names alphabetically. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 86 +- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/config/arm/meson.build b/config/arm

[PATCH v3 1/2] config/arm: strict use of -mcpu for supported CPUs

2024-11-29 Thread Wathsala Vithanage
match_extensions allowed as use of such extensions are optional. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 193 + 1 file changed, 80 insertions(+), 113 deletions(-) diff --git a/config/arm/meson.build b/config/ar

[PATCH] crypto/openssl: fix CMAC auth context update

2024-11-29 Thread Wathsala Vithanage
This patch removes an unnecessary cleanup of the shared CMAC context at the end of the CMAC authentication function, which causes subsequent calls to it to fail. Fixes: 17d5bc6135af ("crypto/openssl: make per-QP auth context clones") Cc: sta...@dpdk.org Signed-off-by: Wathsala

[PATCH v2 1/2] config/arm: strict use of -mcpu for supported CPUs

2024-10-28 Thread Wathsala Vithanage
match_extensions allowed as use of such extensions are optional. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 181 - 1 file changed, 70 insertions(+), 111 deletions(-) diff --git a/config/arm/meson.build b/config/ar

[PATCH v2 2/2] config/arm: sort SOCs alphabetically

2024-10-28 Thread Wathsala Vithanage
Order SOC configurations and names alphabetically. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 72 +- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/config/arm/meson.build b/config/arm

[PATCH 2/2] config/arm: sort SOCs alphabetically

2024-10-28 Thread Wathsala Vithanage
Order SOC configurations and names alphabetically. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 72 +- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/config/arm/meson.build b/config/arm

[PATCH 1/2] config/arm: strict use of -mcpu for supported CPUs

2024-10-28 Thread Wathsala Vithanage
match_extensions allowed as use of such extensions are optional. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 166 +++-- 1 file changed, 60 insertions(+), 106 deletions(-) diff --git a/config/arm/meson.build b/config/ar

[RFC v3 2/2] ethdev: introduce the cache stashing hints API

2024-10-20 Thread Wathsala Vithanage
types) on the Rx and Tx queues. PMDs that support stashing must register their implementations with the following eth_dev_ops callbacks, which are invoked by the ethdev functions listed above. - stashing_capabilities_get - stashing_rx_hints_set - stashing_tx_hints_set Signed-off-by: Wathsala

[RFC v3 1/2] pci: introduce the PCIe TLP Processing Hints API

2024-10-20 Thread Wathsala Vithanage
values per the device's capabilities. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa Nagarahalli Reviewed-by: Dhruv Tripathi --- drivers/bus/pci/bsd/pci.c | 12 drivers/bus/pci/linux/pci.c | 12 drivers/bus/pci/rte_bus_pci.h | 22 +++ drivers/bus/pci

[RFC v3 0/2] An API for Stashing Packets into CPU caches

2024-10-20 Thread Wathsala Vithanage
of the stashing functionality via stashing_rx_hints_set and stashing_tx_hints_set, function pointers in eth_dev_ops, respectively. Wathsala Vithanage (2): pci: introduce the PCIe TLP Processing Hints API ethdev: introduce the cache stashing hints API drivers/bus/pci/bsd/pci.c | 12 +++ d

[PATCH v3 2/2] power: detect supported driver

2024-10-10 Thread Wathsala Vithanage
Check if the frequency scaling driver is supported before attempting to initialize. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/power/power_acpi_cpufreq.c | 6 ++ lib/power/power_amd_pstate_cpufreq.c | 6 ++ lib/power/power_cppc_cpufreq.c | 6

[PATCH v3 1/2] power: enable CPPC support in power library

2024-10-10 Thread Wathsala Vithanage
Power library already supports Linux CPPC driver. Enable its use and fix the name of the CPPC driver name. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/power/power_cppc_cpufreq.c | 2 +- lib/power/rte_power_pmd_mgmt.c | 11 ++- 2 files changed, 7 insertions

[PATCH v2 2/2] power: detect supported driver

2024-10-10 Thread Wathsala Vithanage
Check if the frequency scaling driver is supported before attempting to initialize. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/power/power_acpi_cpufreq.c | 6 ++ lib/power/power_amd_pstate_cpufreq.c | 6 ++ lib/power/power_cppc_cpufreq.c | 6

[PATCH v2 1/2] power: enable CPPC support in power library

2024-10-10 Thread Wathsala Vithanage
Power library already supports Linux CPPC driver. Enable its use and fix the name of the CPPC driver name. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- .mailmap | 1 + lib/power/power_cppc_cpufreq.c | 2 +- lib/power/rte_power_pmd_mgmt.c | 11

[PATCH 2/2] eal: detect supported driver

2024-09-06 Thread Wathsala Vithanage
Check if the frequency scaling driver is supported before attempting to initialize. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/power/power_acpi_cpufreq.c | 6 ++ lib/power/power_amd_pstate_cpufreq.c | 6 ++ lib/power/power_cppc_cpufreq.c | 6

[PATCH 1/2] eal: enable CPPC support in power library

2024-09-06 Thread Wathsala Vithanage
Power library already supports Linux CPPC driver. Enable its use and fix the name of the CPPC driver name. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- .mailmap | 1 + lib/power/power_cppc_cpufreq.c | 2 +- lib/power/rte_power_pmd_mgmt.c | 11

[PATCH] doc: update Arm IPsec-MB dependency version

2024-07-31 Thread Wathsala Vithanage
Updates the tag of Arm IPsec-MB library to SECLIB-IPSEC-2024.07.08 in snow3g and zuc documentation. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- .mailmap | 1 + doc/guides/cryptodevs/snow3g.rst | 2 +- doc/guides/cryptodevs/zuc.rst| 2 +- 3

[PATCH v4 4/4] eal: describe Arm CPU features including WFXT

2024-07-26 Thread Wathsala Vithanage
Add descriptive comments to each Arm feature listed in rte_cpu_flag_t. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa Nagarahalli Reviewed-by: Dhruv Tripathi --- lib/eal/arm/include/rte_cpuflags_64.h | 48 +++ 1 file changed, 48 insertions(+) diff --git a

[PATCH v4 1/4] eal: expand the availability of WFE and related instructions

2024-07-26 Thread Wathsala Vithanage
control of the RTE_WAIT_UNTIL_EQUAL_ARCH_DEFINED macro. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- .mailmap | 1 + lib/eal/arm/include/rte_pause_64.h | 4 ++-- lib/eal/arm/rte_cpuflags.c | 4 ++-- lib/eal/arm/rte_power_intrinsics.c | 9

[PATCH v4 2/4] config/arm: adds Arm Neoverse N3 SoC

2024-07-26 Thread Wathsala Vithanage
Add Arm Neoverse N3 part number to build configuration. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- config/arm/meson.build | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build

[PATCH v4 3/4] eal: add Arm WFET in power management intrinsics

2024-07-26 Thread Wathsala Vithanage
x27;s discretion rather than as an indicator of the instruction's availability. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jack Bond-Preston Reviewed-by: Nick Connolly Reviewed-by: Vinod Krishna ---

[PATCH v3 4/4] eal: describe Arm CPU features including WFXT

2024-07-15 Thread Wathsala Vithanage
RTE_CPUFALG_WFXT indicates the availability of WFET and WFIT instructions. To preserve consistency across the rte_cpu_flag_t enumeration, add descriptive comments to each Arm feature listed. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/eal/arm/include/rte_cpuflags_64.h

[PATCH v3 3/4] eal: add Arm WFET in power management intrinsics

2024-07-15 Thread Wathsala Vithanage
x27;s discretion rather than as an indicator of the instruction's availability. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jack Bond-Preston Reviewed-by: Nick Connolly Reviewed-by: Vinod Krishna ---

[PATCH v3 1/4] eal: expand the availability of WFE and related instructions

2024-07-15 Thread Wathsala Vithanage
control of the RTE_WAIT_UNTIL_EQUAL_ARCH_DEFINED macro. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- lib/eal/arm/include/rte_pause_64.h | 4 ++-- lib/eal/arm/rte_cpuflags.c | 4 ++-- lib/eal/arm/rte_power_intrinsics.c | 9 - 3 files changed, 8 insertions

[PATCH v3 2/4] config/arm: adds Arm Neoverse N3 SoC

2024-07-15 Thread Wathsala Vithanage
Add Arm Neoverse N3 part number to build configuration. Signed-off-by: Wathsala Vithanage --- config/arm/meson.build | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 012935d5d7..8018218b76 100644

[RFC v2] ethdev: an API for cache stashing hints

2024-07-15 Thread Wathsala Vithanage
hing hints, the NIC should always set the RTE_ETH_DEV_CAPA_CACHE_STASHING device capability. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi --- .mailmap | 1 + lib/ethdev/ethdev_driver.h | 67 +++ lib/ethdev/rte_ethdev.c| 153 ++

[RFC] ethdev: an API for cache stashing hints

2024-07-15 Thread Wathsala Vithanage
hing hints, the NIC should always set the RTE_ETH_DEV_CAPA_CACHE_STASHING device capability. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Jira: ENTNET-5014 Change-Id: I0a4197311a884619b03eba7c94fa0922d5f57045 --- .mailmap | 1 + lib/ethdev/ethdev

[PATCH v2 2/2] eal: add Arm WFET in power management intrinsics

2024-06-18 Thread Wathsala Vithanage
fallback to WFE. RTE_ARM_USE_WFE macro is not required to enable WFE feature for PMD power monitoring. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jack Bond-Preston Reviewed-by: Nick Connolly Reviewed-by: Vinod Krishna --- .mailmap

[PATCH v2 1/2] config/arm: adds Arm Neoverse N3 SoC

2024-06-18 Thread Wathsala Vithanage
Add Arm Neoverse N3 part number to build configuration. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Jack Bond-Preston --- config/arm/meson.build | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b

[PATCH 2/2] eal: add Arm WFET in power management intrinsics

2024-06-03 Thread Wathsala Vithanage
fallback to WFE. RTE_ARM_USE_WFE macro is not required to enable WFE feature for PMD power monitoring. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jack Bond-Preston Reviewed-by: Nick Connolly Reviewed-by: Vinod Krishna --- .mailmap

[PATCH 1/2] config/arm: adds Arm Neoverse N3 SoC

2024-06-03 Thread Wathsala Vithanage
Add Arm Neoverse N3 part number to build configuration. Signed-off-by: Wathsala Vithanage Reviewed-by: Dhruv Tripathi Reviewed-by: Jack Bond-Preston --- config/arm/meson.build | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b

[PATCH V2] doc/ipsec_mb: update Arm IPsec-MB library tag

2024-03-06 Thread Wathsala Vithanage
Updates the tag of Arm IPsec-MB library to SECLIB-IPSEC-2024.03.05 in snow3g and zuc documentation. Tag SECLIB-IPSEC-2024.03.05 updates IPSec-MB library version to 1.4. Signed-off-by: Wathsala Vithanage Reviewed-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jack Bond-Preston

[PATCH] crypto/ipsec_mb: update Arm IPsec-MB library tag

2024-02-28 Thread Wathsala Vithanage
Updates the tag of Arm IPsec-MB library to SECLIB-IPSEC-2023.10.13 in snow3g and zuc documentation. Tag SECLIB-IPSEC-2023.10.13 updates IPSec-MB library version to 1.4. Signed-off-by: Wathsala Vithanage Reviewed-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli Reviewed-by: Jack Bond-Preston

[PATCH v3] net/mlx5: enable PCI related counters

2024-02-15 Thread Wathsala Vithanage
the number of packets dropped due to pci buffer overflow and the number of times the device owned queue had not enough buffers allocated. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa Nagarahalli Acked-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski ---

[PATCH v2] net/mlx5: enable PCI related counters

2024-02-14 Thread Wathsala Vithanage
the number of packets dropped due to pci buffer overflow and the number of times the device owned queue had not enough buffers allocated. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa Nagarahalli Acked-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski ---

[PATCH V2] net/memif: fix extra mbuf refcnt update in zero copy Tx

2024-02-13 Thread Wathsala Vithanage
-pps | 2748812 | 2955436 | +++---+ Fixes: 43b815d88188 ("net/memif: support zero-copy slave") Cc: jgraj...@cisco.com Signed-off-by: Liangxing Wang Signed-off-by: Wathsala Vithanage Reviewed-by: Ruifeng Wang ---

[PATCH] net/mlx5: enable PCI related counters

2024-02-09 Thread Wathsala Vithanage
the number of packets dropped due to pci buffer overflow and the number of times the device owned queue had not enough buffers allocated. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa Nagarahalli --- .mailmap| 1 + drivers/net/mlx5/linux/mlx5_ethdev

[RFC] ring: further performance improvements with C11

2023-06-15 Thread Wathsala Vithanage
__rte_ring_move_cons_head with ACQUIRE fences. (2) Remove ACQUIRE fences between load of the old_head and load of the cons_tail in __rte_ring_move_prod_head and __rte_ring_move_cons_head. These two fences are not required for the safety of the ring library. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa

[RFC] ring: Further performance improvements with C11

2023-06-15 Thread Wathsala Vithanage
tal count: 150884 | Total count: 153162 | Total count: 159661 | | | Gain: 1.5%|Gain: 5.8%| +---+ Wathsala Vithanage (1): ring: improving performance with C11 .mailmap| 1 + lib/ring/rte_ring_c11_pvt.h | 35 --- 2 files changed, 21 insertions(+), 15 deletions(-) -- 2.25.1

[RFC] ring: remove unnecessary fences in C11 ring for performance

2023-06-12 Thread Wathsala Vithanage
. These two fences are not required for the safety of the ring library. Signed-off-by: Wathsala Vithanage Reviewed-by: Honnappa Nagarahalli Reviewed-by: Ruifeng Wang --- .mailmap| 1 + lib/ring/rte_ring_c11_pvt.h | 6 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff

[RFC] ring: remove unnecessary fences in C11 ring for performance

2023-06-12 Thread Wathsala Vithanage
+ | Generic | C11 atomics | C11 atomics improved | +---+ | Total count: 150729 | Total count: 153162 | Total count: 150303 | | | Gain: 1.6%

[RFC] ring: improve ring performance with C11 atomics

2023-04-21 Thread Wathsala Vithanage
roved | +---+ | Total count: 167495 | Total count: 161536 | Total count: 163190 | | |Gain: -3.5% |Gain: -2.6% | +---+ Signed-off-by: Wathsala Vithanage Reviewed-by: Hon

[RFC] ring: improve ring performance with C11 atomics

2023-04-21 Thread Wathsala Vithanage
roved | +---+ | Total count: 167495 | Total count: 161536 | Total count: 163190 | | |Gain: -3.5% |Gain: -2.6% | +---+ Signed-off-by: Wathsala Vithanage Reviewed-by: Hon