[v9 6/8] net/dpaa: add devargs for enabling err packets on main queue

2025-07-17 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v9 8/8] bus/dpaa: optimize qman enqueue check

2025-07-17 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 3 ++- drivers/bus/dpaa/base/qbman/bman.c | 6 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 ++

[v9 7/8] bus/dpaa: improve DPAA cleanup

2025-07-17 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v9 4/8] mempool/dpaa: fast acquire and release

2025-07-17 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v9 5/8] mempool/dpaa: adjust pool element for LS1043A errata

2025-07-17 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 144 ++

[v9 3/8] bus/dpaa: optimize bman acquire/release

2025-07-17 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 147 -

[v9 0/8] DPAA specific fixes

2025-07-17 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V8: This is a resend of the previous patch series with the correct series name. No changes to the patches themselves. V7: Fixed compilation issues on some platforms. V6: Removed the "add Tx rate limiting DPAA PM

[v9 2/8] bus/dpaa: enhance DPAA SoC version

2025-07-17 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v9 1/8] bus/dpaa: add FMan node

2025-07-17 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to its interface (port). This method describes FMan attributes and avoids accessing FMan from port directly. Logically, something like IEEE 1588 is an FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in rang

[v8 7/8] bus/dpaa: improve DPAA cleanup

2025-07-02 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v8 8/8] bus/dpaa: optimize qman enqueue check

2025-07-02 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 3 ++- drivers/bus/dpaa/base/qbman/bman.c | 6 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 ++

[v8 6/8] net/dpaa: add devargs for enabling err packets on main queue

2025-07-02 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v8 5/8] mempool/dpaa: adjust pool element for LS1043A errata

2025-07-02 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 144 ++

[v8 4/8] mempool/dpaa: fast acquire and release

2025-07-02 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v8 3/8] bus/dpaa: optimize bman acquire/release

2025-07-02 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 147 -

[v8 1/8] bus/dpaa: add FMan node

2025-07-02 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to its interface (port). This method describes FMan attributes and avoids accessing FMan from port directly. Logically, something like IEEE 1588 is an FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in rang

[v8 2/8] bus/dpaa: enhance DPAA SoC version

2025-07-02 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v8 0/8] DPAA specific fixes

2025-07-02 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V8: This is a resend of the previous patch series with the correct series name. No changes to the patches themselves. V7: Fixed compilation issues on some platforms. V6: Removed the "add Tx rate limiting DPAA PM

[v7 8/8] bus/dpaa: optimize qman enqueue check

2025-07-02 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 3 ++- drivers/bus/dpaa/base/qbman/bman.c | 6 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 ++

[v7 7/8] bus/dpaa: improve DPAA cleanup

2025-07-02 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v7 6/8] net/dpaa: add devargs for enabling err packets on main queue

2025-07-02 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v7 5/8] mempool/dpaa: adjust pool element for LS1043A errata

2025-07-02 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 144 ++

[v7 4/8] mempool/dpaa: fast acquire and release

2025-07-02 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v7 3/8] bus/dpaa: optimize bman acquire/release

2025-07-02 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 147 -

[v7 2/8] bus/dpaa: enhance DPAA SoC version

2025-07-02 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v7 1/8] bus/dpaa: add FMan node

2025-07-02 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to its interface (port). This method describes FMan attributes and avoids accessing FMan from port directly. Logically, something like IEEE 1588 is an FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in rang

[v7 0/8] improve DPAA cleanup

2025-07-02 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V7: Fixed compilation issues on some platforms. V6: Removed the "add Tx rate limiting DPAA PMD API" patch. Handled comments by the reviewer. V5: Fixed comments by the reviewer. V4: Fixed compilation errors i

RE: [EXT] Re: [v5 6/9] net/dpaa: add Tx rate limiting DPAA PMD API

2025-07-02 Thread Vanshika Shukla
Hi, We have dropped this patch for now. We will submit it for the next release. > -Original Message- > From: Stephen Hemminger > Sent: 01 July 2025 19:28 > To: Vanshika Shukla > Cc: dev@dpdk.org; Thomas Monjalon ; Hemant > Agrawal ; Sachin Saxena > ; Vinod Pul

[v6 7/8] bus/dpaa: improve DPAA cleanup

2025-07-02 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v6 0/8] DPAA specific fixes

2025-07-02 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V6: Removed the "add Tx rate limiting DPAA PMD API" patch. Handled comments by the reviewer. V5: Fixed comments by the reviewer. V4: Fixed compilation errors in the "bus/dpaa: optimize qman enqueue check&q

[v6 8/8] bus/dpaa: optimize qman enqueue check

2025-07-02 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 3 ++- drivers/bus/dpaa/base/qbman/bman.c | 6 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 ++

[v6 5/8] mempool/dpaa: adjust pool element for LS1043A errata

2025-07-02 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 144 ++

[v6 4/8] mempool/dpaa: fast acquire and release

2025-07-02 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v6 6/8] net/dpaa: add devargs for enabling err packets on main queue

2025-07-02 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v6 1/8] bus/dpaa: add FMan node

2025-07-02 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to its interface (port). This method describes FMan attributes and avoids accessing FMan from port directly. Logically, something like IEEE 1588 is an FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in rang

[v6 3/8] bus/dpaa: optimize bman acquire/release

2025-07-02 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 147 -

[v6 2/8] bus/dpaa: enhance DPAA SoC version

2025-07-02 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

RE: [EXT] Re: [v4 07/10] net/dpaa: add Tx rate limiting DPAA PMD API

2025-07-01 Thread Vanshika Shukla
custom solution to support this functionality. Regards, Vanshika > -Original Message- > From: Stephen Hemminger > Sent: 29 June 2025 22:13 > To: Vanshika Shukla > Cc: dev@dpdk.org; Thomas Monjalon ; Hemant > Agrawal ; Sachin Saxena > ; Vinod Pullabhatla > >

RE: [EXT] Re: [v4 01/10] bus/dpaa: avoid using same structure and variable name

2025-07-01 Thread Vanshika Shukla
Hi Stephen, I have removed this patch from the patchlist. Regards, Vanshika > -Original Message- > From: Stephen Hemminger > Sent: 29 June 2025 22:01 > To: Vanshika Shukla > Cc: dev@dpdk.org; Hemant Agrawal ; Sachin > Saxena ; Jun Yang > Subject: [EXT] Re: [v4 0

[v5 9/9] bus/dpaa: optimize qman enqueue check

2025-07-01 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 3 ++- drivers/bus/dpaa/base/qbman/bman.c | 6 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 ++

[v5 5/9] mempool/dpaa: adjust pool element for LS1043A errata

2025-07-01 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 144 ++

[v5 8/9] bus/dpaa: improve DPAA cleanup

2025-07-01 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v5 7/9] net/dpaa: add devargs for enabling err packets on main queue

2025-07-01 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v5 6/9] net/dpaa: add Tx rate limiting DPAA PMD API

2025-07-01 Thread vanshika . shukla
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Vanshika Shukla --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 89 +++- drivers/net/dpaa/fmlib

[v5 3/9] bus/dpaa: optimize bman acquire/release

2025-07-01 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 147 -

[v5 2/9] bus/dpaa: enhance DPAA SoC version

2025-07-01 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v5 4/9] mempool/dpaa: fast acquire and release

2025-07-01 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v5 1/9] bus/dpaa: add FMan node

2025-07-01 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to its interface (port). This method describes FMan attributes and avoids accessing FMan from port directly. Logically, something like IEEE 1588 is an FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in rang

[v5 0/9] DPAA specific fixes

2025-07-01 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V5: Fixed comments by the reviewer. V4: Fixed compilation errors in the "bus/dpaa: optimize qman enqueue check" patch on Ubuntu 22.04. - Ensured buffer bounds are respected and added validation for buffer count

RE: [EXT] Re: [v4 02/10] bus/dpaa: add FMan node

2025-06-18 Thread Vanshika Shukla
Hi Stephen, Please ignore this. This is valid wrt to DPAA. Thanks! > -Original Message- > From: Stephen Hemminger > Sent: 11 June 2025 22:21 > To: Vanshika Shukla > Cc: dev@dpdk.org; Hemant Agrawal ; Sachin > Saxena ; Jun Yang > Subject: [EXT] Re: [v4 02/10] bu

[v4 09/10] bus/dpaa: improve DPAA cleanup

2025-06-11 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v4 08/10] net/dpaa: add devargs for enabling err packets on main queue

2025-06-11 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v4 04/10] bus/dpaa: optimize bman acquire/release

2025-06-11 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 149 -

[v4 06/10] mempool/dpaa: adjust pool element for LS1043A errata

2025-06-11 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 145 ++

[v4 00/10] DPAA specific fixes

2025-06-11 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V4: Fixed compilation errors in the "bus/dpaa: optimize qman enqueue check" patch on Ubuntu 22.04. - Ensured buffer bounds are respected and added validation for buffer count extracted from mcr->verb. V3: Fixe

[v4 02/10] bus/dpaa: add FMan node

2025-06-11 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to it's interface(port). This method describes FMan attributes and avoid accessing FMan from port directly. Logically, something like IEEE 1588 is FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in range of

[v4 10/10] bus/dpaa: optimize qman enqueue check

2025-06-11 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 3 ++- drivers/bus/dpaa/base/qbman/bman.c | 6 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 ++

[v4 07/10] net/dpaa: add Tx rate limiting DPAA PMD API

2025-06-11 Thread vanshika . shukla
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Vanshika Shukla --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 87 +++- drivers/net/dpaa/fmlib

[v4 05/10] mempool/dpaa: fast acquire and release

2025-06-11 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v4 01/10] bus/dpaa: avoid using same structure and variable name

2025-06-11 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v4 03/10] bus/dpaa: enhance DPAA SoC version

2025-06-11 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v3 10/10] bus/dpaa: optimize qman enqueue check

2025-06-10 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/bman.c | 19 ++--- drivers/bus/dpaa/base/qbman/qman.c | 41 - drivers/bus/dpaa/incl

[v3 09/10] bus/dpaa: improve DPAA cleanup

2025-06-10 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v3 08/10] net/dpaa: add devargs for enabling err packets on main queue

2025-06-10 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v3 07/10] net/dpaa: add Tx rate limiting DPAA PMD API

2025-06-10 Thread vanshika . shukla
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Vanshika Shukla --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 87 +++- drivers/net/dpaa/fmlib

[v3 06/10] mempool/dpaa: adjust pool element for LS1043A errata

2025-06-10 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 145 ++

[v3 05/10] mempool/dpaa: fast acquire and release

2025-06-10 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v3 03/10] bus/dpaa: enhance DPAA SoC version

2025-06-10 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v3 04/10] bus/dpaa: optimize bman acquire/release

2025-06-10 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 149 -

[v3 02/10] bus/dpaa: add FMan node

2025-06-10 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to it's interface(port). This method describes FMan attributes and avoid accessing FMan from port directly. Logically, something like IEEE 1588 is FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in range of

[v3 00/10] DPAA specific fixes

2025-06-10 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V3: Fixed compilation errors for "bus/dpaa: optimize qman enqueue check" patch. V2: Handled review comments and checkpatch warnings Gagandeep Singh (1): bus/dpaa: improve DPAA cleanup Hemant Agrawal (2):

[v3 01/10] bus/dpaa: avoid using same structure and variable name

2025-06-10 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v2 01/10] bus/dpaa: avoid using same structure and variable name

2025-06-02 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v2 08/10] net/dpaa: add devargs for enabling err packets on main queue

2025-06-02 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v2 10/10] bus/dpaa: optimize qman enqueue check

2025-06-02 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 41 - drivers/bus/dpaa/include/fsl_qman.h | 2 +- 2 files changed, 23 insertions(+

[v2 09/10] bus/dpaa: improve DPAA cleanup

2025-06-02 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v2 04/10] bus/dpaa: optimize bman acquire/release

2025-06-02 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 149 -

[v2 07/10] net/dpaa: add Tx rate limiting DPAA PMD API

2025-06-02 Thread vanshika . shukla
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Vanshika Shukla --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 87 +++- drivers/net/dpaa/fmlib

[v2 06/10] mempool/dpaa: adjust pool element for LS1043A errata

2025-06-02 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 145 ++

[v2 05/10] mempool/dpaa: fast acquire and release

2025-06-02 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v2 03/10] bus/dpaa: enhance DPAA SoC version

2025-06-02 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v2 02/10] bus/dpaa: add FMan node

2025-06-02 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to it's interface(port). This method describes FMan attributes and avoid accessing FMan from port directly. Logically, something like IEEE 1588 is FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in range of

[v2 00/10] DPAA specific fixes

2025-06-02 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. V2: Handled review comments and checkpatch warnings Gagandeep Singh (1): bus/dpaa: improve DPAA cleanup Hemant Agrawal (2): bus/dpaa: avoid using same structure and variable name bus/dpaa: optimize qman enqueue check

[v1 01/10] bus/dpaa: avoid using same structure and variable name

2025-05-28 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v1 00/10] DPAA specific fixes

2025-05-28 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. Gagandeep Singh (1): bus/dpaa: improve DPAA cleanup Hemant Agrawal (2): bus/dpaa: avoid using same structure and variable name bus/dpaa: optimize qman enqueue check Jun Yang (5): bus/dpaa: add FMan node bus/dpaa

[v1 07/10] net/dpaa: add Tx rate limiting DPAA PMD API

2025-05-28 Thread vanshika . shukla
From: Vinod Pullabhatla Add support to set Tx rate on DPAA platform through PMD APIs Signed-off-by: Vinod Pullabhatla Signed-off-by: Vanshika Shukla --- .mailmap | 1 + drivers/net/dpaa/dpaa_flow.c | 87 +++- drivers/net/dpaa/fmlib

[v1 10/10] bus/dpaa: optimize qman enqueue check

2025-05-28 Thread vanshika . shukla
From: Hemant Agrawal This patch improves data access during qman enequeue ring check. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/qbman/qman.c | 41 - drivers/bus/dpaa/include/fsl_qman.h | 2 +- 2 files changed, 23 insertions(+

[v1 08/10] net/dpaa: add devargs for enabling err packets on main queue

2025-05-28 Thread vanshika . shukla
From: Vanshika Shukla Currently, error queue is mapped to the Rx queue and enabled by default. This patch adds the devargs to control the err packets on main queue. Also, in VSP mode the error queue should be disabled because the error packets from kernel are diverted to the Rx queue/err queue

[v1 05/10] mempool/dpaa: fast acquire and release

2025-05-28 Thread vanshika . shukla
From: Jun Yang Use new BMan APIs to improve performance and support burst release. Improve release performance ~90% by burst release. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 85 - drivers/mempool/dpaa/dpaa_mempool.h | 2 +- 2 files changed

[v1 09/10] bus/dpaa: improve DPAA cleanup

2025-05-28 Thread vanshika . shukla
From: Gagandeep Singh This patch addresses DPAA driver issues with the introduction of rte_eal_cleanup, which caused driver-specific destructors to fail due to memory cleanup. To resolve this, we remove the driver destructor and relocate the code to the bus cleanup function. So, this patch also

[v1 06/10] mempool/dpaa: adjust pool element for LS1043A errata

2025-05-28 Thread vanshika . shukla
From: Jun Yang Adjust every element of pool by populate callback. 1) Make sure start DMA address is aligned with 16B. 2) For buffer across 4KB boundary, make sure start DMA address is aligned with 256B. Signed-off-by: Jun Yang --- drivers/mempool/dpaa/dpaa_mempool.c | 145 ++

[v1 03/10] bus/dpaa: enhance DPAA SoC version

2025-05-28 Thread vanshika . shukla
From: Jun Yang Provide internal API to identify DPAA1 SoC version instead of accessing global variable directly. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/qman.c | 9 +++--- drivers/bus/dpaa/bus_dpaa_driver.h | 9 +++--- drivers/bus/dpaa/dpaa_bus.c| 48 +

[v1 04/10] bus/dpaa: optimize bman acquire/release

2025-05-28 Thread vanshika . shukla
From: Jun Yang 1) Reduce byte swap between big endian and little endian. 2) Reduce ci(cache invalid) access by 128bit R/W instructions. These methods improve ~10% buffer acquire/release performance. Signed-off-by: Jun Yang --- drivers/bus/dpaa/base/qbman/bman.c | 149 -

[v1 02/10] bus/dpaa: add FMan node

2025-05-28 Thread vanshika . shukla
From: Jun Yang Add FMan node(s) and associate FMan to it's interface(port). This method describes FMan attributes and avoid accessing FMan from port directly. Logically, something like IEEE 1588 is FMan global resource, which is in range of 0xF_E000–0xF_EFFF. Port specific resource is in range of

[v1 01/10] bus/dpaa: avoid using same structure and variable name

2025-05-28 Thread vanshika . shukla
From: Hemant Agrawal rte_dpaa_bus was being used as structure and variable name both. Signed-off-by: Jun Yang Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/dpaa_bus.c | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/bus/d

[v1 00/10] DPAA specific fixes

2025-05-28 Thread vanshika . shukla
From: Vanshika Shukla This series includes fixes for NXP DPAA drivers. Gagandeep Singh (1): bus/dpaa: improve DPAA cleanup Hemant Agrawal (2): bus/dpaa: avoid using same structure and variable name bus/dpaa: optimize qman enqueue check Jun Yang (5): bus/dpaa: add FMan node bus/dpaa

RE: [EXT] Re: [v5 00/42] DPAA2 specific patches

2024-11-10 Thread Vanshika Shukla
; Sent: Sunday, November 10, 2024 7:04 AM > To: Vanshika Shukla ; Gagandeep Singh > ; Hemant Agrawal ; Jun > Yang ; Rohit Raj > Cc: dev@dpdk.org; David Marchand > Subject: [EXT] Re: [v5 00/42] DPAA2 specific patches > > Caution: This is an external email. Please take care when clic

[v5 31/42] net/dpaa2: check if Soft parser is loaded

2024-10-23 Thread vanshika . shukla
From: Jun Yang Access sp instruction area to check if sp is loaded. Signed-off-by: Jun Yang Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 ++ drivers/net/dpaa2/dpaa2_ethdev.h | 2 + drivers/net/dpaa2/dpaa2_flow.c | 88 3 files

[v5 25/42] net/dpaa2: enhancement of raw flow extract

2024-10-23 Thread vanshika . shukla
From: Jun Yang Support combination of RAW extract and header extracts. RAW extract can start from any absolute offset. TBD: relative offset support. To support relative offset of previous L3 protocol item, extracts should be expanded to identify if the frame is: vlan or none-vlan. To support re

[v5 13/42] bus/fslmc: get MC VFIO group FD directly

2024-10-23 Thread vanshika . shukla
From: Jun Yang Get vfio group fd directly from file system instead of from RTE API to avoid conflicting with PCIe VFIO. FSL MC VFIO should have it's own logic which doe NOT depend on RTE VFIO. Signed-off-by: Jun Yang --- drivers/bus/fslmc/fslmc_vfio.c | 88 ++ d

  1   2   3   4   >