[PATCH v5 01/11] net/dpaa2: fix issue of extract buffer preparation

2025-06-12 Thread Gagandeep Singh
From: Jun Yang 1) The max size of extract buffer should be size of "struct dpni_ext_set_rx_tc_dist"(488), which is greater than 256. 2) dpkg_prepare_key_cfg is responsible to clear extract buffer before preparing. Fixes: 25d0ae624245 ("net/dpaa2: check IOVA before sending MC command") Cc:

[PATCH v5 10/11] net/dpaa2: setup the speed cap based on the actual MAC

2025-06-12 Thread Gagandeep Singh
From: Ioana Ciornei Previously, the speed_capa field from struct rte_eth_dev_info was populated with all possible speeds that the MACs on the system could sustain. What this meant is that the bitmap of speed capability did not reflect what the MAC could do in the current circumstance. Fix this b

[PATCH v5 11/11] net/dpaa2: enable software taildrop for ordered queues

2025-06-12 Thread Gagandeep Singh
This patch adds support for software taildrop on ordered queues in the DPAA2 driver. It also enables congestion notification by default on traffic management (TM) queues, which is a prerequisite for software taildrop functionality. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2

[PATCH v5 07/11] net/dpaa2: support dpmac Tx stats

2025-06-12 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/mc/fsl_dpmac.h | 48 +++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v5 09/11] net/dpaa2: retrieve DPNI API version at init time

2025-06-12 Thread Gagandeep Singh
From: Ioana Ciornei The list of availabla DPNI APIs depends on the DPNI API version available on a system. Retrieve the API version in the init stage and store it in the private structure so that it can be used at a later stage. Signed-off-by: Ioana Ciornei --- .mailmap

[PATCH v5 08/11] net/dpaa2: support dpmac Tx stats in xstats

2025-06-12 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 +++- drivers/net/dpaa2/dpaa2_ethdev.h | 4 ++-- 2 files changed, 21 inserti

[PATCH v5 05/11] net/dpaa2: add dpmac MC header file

2025-06-12 Thread Gagandeep Singh
From: Apeksha Gupta This patch upgrades the MC firmware release API compatibility to 10.39.0. Added mc/fsl_dpmac.h file. Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/mc/fsl_dpmac.h | 465 +++ 1 file changed, 465 insertions(+) create mode 100644 drivers/net/dp

[PATCH v5 06/11] net/dpaa2: support dpmac counters in stats

2025-06-12 Thread Gagandeep Singh
From: Apeksha Gupta Add support of dpmac counters in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c| 118 ++-- drivers/net/dpaa2/dpaa2_ethdev.h| 12 +++ drivers/net/dpaa2/mc/dpni.c | 29 ++-

[PATCH v5 04/11] mempool/dpaa2: use unified VA to IOVA conversion

2025-06-12 Thread Gagandeep Singh
From: Jun Yang Use DPAA2_VADDR_TO_IOVA to convert va to iova for both VA and PA modes. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 222 +++ 1 file changed, 142 insertions(+), 80 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c

[PATCH v5 02/11] net/dpaa2: fix shaper rate

2025-06-12 Thread Gagandeep Singh
This patch fixes the shaper rate by configuring the user given rate in bytes. Earlier driver was considering the user given rate value in bits. Fixes: ac624068ee25 ("net/dpaa2: support traffic management") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa

[PATCH v5 03/11] bus/fslmc: add DPBP APIs for setting depletion thresholds

2025-06-12 Thread Gagandeep Singh
From: Vanshika Shukla This patch adds DPBP APIs for setting and getting the depletion/surplus thresholds for controlling pause frame generation. By default, depletion_entry is set as 128 by MC. This API would help user configure the buffer in depletion state as per requirement. Signed-off-by: V

[PATCH v5 00/11] NXP DPAA2 driver enhancements and fixes

2025-06-12 Thread Gagandeep Singh
/dpaa2: add dpmac MC header file net/dpaa2: support dpmac counters in stats net/dpaa2: support dpmac Tx stats net/dpaa2: support dpmac Tx stats in xstats Gagandeep Singh (2): net/dpaa2: fix shaper rate net/dpaa2: enable software taildrop for ordered queues Ioana Ciornei (2): net/dpaa2

[PATCH v4 01/11] net/dpaa2: fix issue of extract buffer preparation

2025-06-11 Thread Gagandeep Singh
From: Jun Yang 1) The max size of extract buffer should be size of "struct dpni_ext_set_rx_tc_dist"(488), which is greater than 256. 2) dpkg_prepare_key_cfg is responsible to clear extract buffer before preparing. Fixes: 25d0ae624245 ("net/dpaa2: check IOVA before sending MC command") Cc:

[PATCH v4 06/11] net/dpaa2: support dpmac counters in stats

2025-06-11 Thread Gagandeep Singh
From: Apeksha Gupta Add support of dpmac counters in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c| 118 ++-- drivers/net/dpaa2/dpaa2_ethdev.h| 12 +++ drivers/net/dpaa2/mc/dpni.c | 29 ++-

[PATCH v4 11/11] net/dpaa2: enable software taildrop for ordered queues

2025-06-11 Thread Gagandeep Singh
This patch adds support for software taildrop on ordered queues in the DPAA2 driver. It also enables congestion notification by default on traffic management (TM) queues, which is a prerequisite for software taildrop functionality. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2

[PATCH v4 09/11] net/dpaa2: retrieve DPNI API version at init time

2025-06-11 Thread Gagandeep Singh
From: Ioana Ciornei The list of availabla DPNI APIs depends on the DPNI API version available on a system. Retrieve the API version in the init stage and store it in the private structure so that it can be used at a later stage. Signed-off-by: Ioana Ciornei --- .mailmap

[PATCH v4 10/11] net/dpaa2: setup the speed cap based on the actual MAC

2025-06-11 Thread Gagandeep Singh
From: Ioana Ciornei Previously, the speed_capa field from struct rte_eth_dev_info was populated with all possible speeds that the MACs on the system could sustain. What this meant is that the bitmap of speed capability did not reflect what the MAC could do in the current circumstance. Fix this b

[PATCH v4 08/11] net/dpaa2: support dpmac Tx stats in xstats

2025-06-11 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 +++- drivers/net/dpaa2/dpaa2_ethdev.h | 4 ++-- 2 files changed, 21 inserti

[PATCH v4 07/11] net/dpaa2: support dpmac Tx stats

2025-06-11 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/mc/fsl_dpmac.h | 48 +++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v4 05/11] net/dpaa2: add dpmac MC header file

2025-06-11 Thread Gagandeep Singh
From: Apeksha Gupta This patch upgrades the MC firmware release API compatibility to 10.39.0. Added mc/fsl_dpmac.h file. Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/mc/fsl_dpmac.h | 465 +++ 1 file changed, 465 insertions(+) create mode 100644 drivers/net/dp

[PATCH v4 04/11] mempool/dpaa2: use unified VA to IOVA conversion

2025-06-11 Thread Gagandeep Singh
From: Jun Yang Use DPAA2_VADDR_TO_IOVA to convert va to iova for both VA and PA modes. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 222 +++ 1 file changed, 142 insertions(+), 80 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c

[PATCH v4 03/11] bus/fslmc: add DPBP APIs for setting depletion thresholds

2025-06-11 Thread Gagandeep Singh
From: Vanshika Shukla This patch adds DPBP APIs for setting and getting the depletion/surplus thresholds for controlling pause frame generation. By default, depletion_entry is set as 128 by MC. This API would help user configure the buffer in depletion state as per requirement. Signed-off-by: V

[PATCH v4 02/11] net/dpaa2: fix shaper rate

2025-06-11 Thread Gagandeep Singh
This patch fixes the shaper rate by configuring the user given rate in bytes. Earlier driver was considering the user given rate value in bits. Fixes: ac624068ee25 ("net/dpaa2: support traffic management") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa

[PATCH v4 00/11] NXP DPAA2 driver enhancements and fixes

2025-06-11 Thread Gagandeep Singh
net/dpaa2: support dpmac counters in stats net/dpaa2: support dpmac Tx stats net/dpaa2: support dpmac Tx stats in xstats Gagandeep Singh (2): net/dpaa2: fix shaper rate net/dpaa2: enable software taildrop for ordered queues Ioana Ciornei (2): net/dpaa2: retrieve DPNI API version at init

[PATCH v3 11/11] net/dpaa2: enable software taildrop for ordered queues

2025-06-08 Thread Gagandeep Singh
This patch adds support for software taildrop on ordered queues in the DPAA2 driver. It also enables congestion notification by default on traffic management (TM) queues, which is a prerequisite for software taildrop functionality. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2

[PATCH v3 02/11] net/dpaa2: fix shaper rate

2025-06-08 Thread Gagandeep Singh
This patch fixes the shaper rate by configuring the user given rate in bytes. Earlier driver was considering the user given rate value in bits. Fixes: ac624068ee25 ("net/dpaa2: support traffic management") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa

[PATCH v3 09/11] net/dpaa2: retrieve DPNI API version at init time

2025-06-08 Thread Gagandeep Singh
From: Ioana Ciornei The list of availabla DPNI APIs depends on the DPNI API version available on a system. Retrieve the API version in the init stage and store it in the private structure so that it can be used at a later stage. Signed-off-by: Ioana Ciornei --- .mailmap

[PATCH v3 08/11] net/dpaa2: support dpmac Tx stats in xstats

2025-06-08 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 +++- drivers/net/dpaa2/dpaa2_ethdev.h | 4 ++-- 2 files changed, 21 inserti

[PATCH v3 10/11] net/dpaa2: setup the speed cap based on the actual MAC

2025-06-08 Thread Gagandeep Singh
From: Ioana Ciornei Previously, the speed_capa field from struct rte_eth_dev_info was populated with all possible speeds that the MACs on the system could sustain. What this meant is that the bitmap of speed capability did not reflect what the MAC could do in the current circumstance. Fix this b

[PATCH v3 06/11] net/dpaa2: support dpmac counters in stats

2025-06-08 Thread Gagandeep Singh
From: Apeksha Gupta Add support of dpmac counters in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c| 118 ++-- drivers/net/dpaa2/dpaa2_ethdev.h| 12 +++ drivers/net/dpaa2/mc/dpni.c | 29 ++-

[PATCH v3 04/11] mempool/dpaa2: use unified VA to IOVA conversion

2025-06-08 Thread Gagandeep Singh
From: Jun Yang Use DPAA2_VADDR_TO_IOVA to convert va to iova for both VA and PA modes. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 222 +++ 1 file changed, 142 insertions(+), 80 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c

[PATCH v3 07/11] net/dpaa2: support dpmac Tx stats

2025-06-08 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/mc/fsl_dpmac.h | 48 +++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH v3 05/11] net/dpaa2: add dpmac MC header file

2025-06-08 Thread Gagandeep Singh
From: Apeksha Gupta This patch upgrades the MC firmware release API compatibility to 10.39.0. Added mc/fsl_dpmac.h file. Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/mc/fsl_dpmac.h | 465 +++ 1 file changed, 465 insertions(+) create mode 100644 drivers/net/dp

[PATCH v3 03/11] bus/fslmc: add DPBP APIs for setting depletion thresholds

2025-06-08 Thread Gagandeep Singh
From: Vanshika Shukla This patch adds DPBP APIs for setting and getting the depletion/surplus thresholds for controlling pause frame generation. By default, depletion_entry is set as 128 by MC. This API would help user configure the buffer in depletion state as per requirement. Signed-off-by: V

[PATCH v3 01/11] net/dpaa2: fix issue of extract buffer preparation

2025-06-08 Thread Gagandeep Singh
From: Jun Yang 1) The max size of extract buffer should be size of "struct dpni_ext_set_rx_tc_dist"(488), which is greater than 256. 2) dpkg_prepare_key_cfg is responsible to clear extract buffer before preparing. Fixes: 25d0ae624245 ("net/dpaa2: check IOVA before sending MC command") Cc:

[PATCH v3 00/11] NXP DPAA2 driver enhancements and fixes

2025-06-08 Thread Gagandeep Singh
: support dpmac Tx stats net/dpaa2: support dpmac Tx stats in xstats Gagandeep Singh (2): net/dpaa2: fix shaper rate net/dpaa2: enable software taildrop for ordered queues Ioana Ciornei (2): net/dpaa2: retrieve DPNI API version at init time net/dpaa2: setup the speed cap based on the actual

[PATCH v2 11/11] net/dpaa2: enable software taildrop for ordered queues

2025-06-02 Thread Gagandeep Singh
This patch adds support for software taildrop on ordered queues in the DPAA2 driver. It also enables congestion notification by default on traffic management (TM) queues, which is a prerequisite for software taildrop functionality. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2

[PATCH v2 04/11] mempool/dpaa2: use unified VA to IOVA conversion

2025-06-02 Thread Gagandeep Singh
From: Jun Yang Use DPAA2_VADDR_TO_IOVA to convert va to iova for both VA and PA modes. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 222 +++ 1 file changed, 142 insertions(+), 80 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c

[PATCH v2 05/11] net/dpaa2: add dpmac MC header file

2025-06-02 Thread Gagandeep Singh
From: Apeksha Gupta This patch upgrades the MC firmware release API compatibility to 10.39.0. Added mc/fsl_dpmac.h file. Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/mc/fsl_dpmac.h | 490 +++ 1 file changed, 490 insertions(+) create mode 100644 drivers/net/dp

[PATCH v2 09/11] net/dpaa2: retrieve DPNI API version at init time

2025-06-02 Thread Gagandeep Singh
From: Ioana Ciornei The list of availabla DPNI APIs depends on the DPNI API version available on a system. Retrieve the API version in the init stage and store it in the private structure so that it can be used at a later stage. Signed-off-by: Ioana Ciornei --- .mailmap

[PATCH v2 10/11] net/dpaa2: setup the speed cap based on the actual MAC

2025-06-02 Thread Gagandeep Singh
From: Ioana Ciornei Previously, the speed_capa field from struct rte_eth_dev_info was populated with all possible speeds that the MACs on the system could sustain. What this meant is that the bitmap of speed capability did not reflect what the MAC could do in the current circumstance. Fix this b

[PATCH v2 08/11] net/dpaa2: support dpmac Tx stats in xstats

2025-06-02 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 +++- drivers/net/dpaa2/dpaa2_ethdev.h | 4 ++-- 2 files changed, 21 inserti

[PATCH v2 07/11] net/dpaa2: support dpmac Tx stats

2025-06-02 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/mc/fsl_dpmac.h | 50 ++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH v2 06/11] net/dpaa2: support dpmac counters in stats

2025-06-02 Thread Gagandeep Singh
From: Apeksha Gupta Add support of dpmac counters in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c| 118 ++-- drivers/net/dpaa2/dpaa2_ethdev.h| 12 +++ drivers/net/dpaa2/mc/dpni.c | 29 ++-

[PATCH v2 03/11] bus/fslmc: add DPBP APIs for setting depletion thresholds

2025-06-02 Thread Gagandeep Singh
From: Vanshika Shukla This patch adds DPBP APIs for setting and getting the depletion/surplus thresholds for controlling pause frame generation. By default, depletion_entry is set as 128 by MC. This API would help user configure the buffer in depletion state as per requirement. Signed-off-by: V

[PATCH v2 02/11] net/dpaa2: fix shaper rate

2025-06-02 Thread Gagandeep Singh
This patch fixes the shaper rate by configuring the user given rate in bytes. Earlier driver was considering the user given rate value in bits. Fixes: ac624068ee25 ("net/dpaa2: support traffic management") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa

[PATCH v2 01/11] net/dpaa2: fix issue of extract buffer preparation

2025-06-02 Thread Gagandeep Singh
From: Jun Yang 1) The max size of extract buffer should be size of "struct dpni_ext_set_rx_tc_dist"(488), which is greater than 256. 2) dpkg_prepare_key_cfg is responsible to clear extract buffer before preparing. Fixes: 25d0ae624245 ("net/dpaa2: check IOVA before sending MC command") Cc:

[PATCH v2 00/11] NXP DPAA2 driver enhancements and fixes

2025-06-02 Thread Gagandeep Singh
xstats Gagandeep Singh (2): net/dpaa2: fix shaper rate net/dpaa2: enable software taildrop for ordered queues Ioana Ciornei (2): net/dpaa2: retrieve DPNI API version at init time net/dpaa2: setup the speed cap based on the actual MAC Jun Yang (2): net/dpaa2: fix issue of extract buffer

[PATCH 11/11] net/dpaa2: enable software taildrop for ordered queues

2025-05-30 Thread Gagandeep Singh
This patch adds support for software taildrop on ordered queues in the DPAA2 driver. It also enables congestion notification by default on traffic management (TM) queues, which is a prerequisite for software taildrop functionality. Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2

[PATCH 10/11] net/dpaa2: setup the speed cap based on the actual MAC

2025-05-30 Thread Gagandeep Singh
From: Ioana Ciornei Previously, the speed_capa field from struct rte_eth_dev_info was populated with all possible speeds that the MACs on the system could sustain. What this meant is that the bitmap of speed capability did not reflect what the MAC could do in the current circumstance. Fix this b

[PATCH 09/11] net/dpaa2: retrieve DPNI API version at init time

2025-05-30 Thread Gagandeep Singh
From: Ioana Ciornei The list of availabla DPNI APIs depends on the DPNI API version available on a system. Retrieve the API version in the init stage and store it in the private structure so that it can be used at a later stage. Signed-off-by: Ioana Ciornei --- .mailmap

[PATCH 07/11] net/dpaa2: support dpmac Tx stats

2025-05-30 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/mc/fsl_dpmac.h | 50 ++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 08/11] net/dpaa2: support dpmac Tx stats in xstats

2025-05-30 Thread Gagandeep Singh
From: Apeksha Gupta Added all mac counters including Tx stats buckets for packet sizes in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c | 20 +++- drivers/net/dpaa2/dpaa2_ethdev.h | 4 ++-- 2 files changed, 21 inserti

[PATCH 05/11] net/dpaa2: add dpmac MC header file

2025-05-30 Thread Gagandeep Singh
From: Apeksha Gupta This patch upgrades the MC firmware release API compatibility to 10.39.0. Added mc/fsl_dpmac.h file. Signed-off-by: Apeksha Gupta --- drivers/net/dpaa2/mc/fsl_dpmac.h | 490 +++ 1 file changed, 490 insertions(+) create mode 100644 drivers/net/dp

[PATCH 06/11] net/dpaa2: support dpmac counters in stats

2025-05-30 Thread Gagandeep Singh
From: Apeksha Gupta Add support of dpmac counters in xstats. Signed-off-by: Apeksha Gupta Signed-off-by: Vanshika Shukla --- drivers/net/dpaa2/dpaa2_ethdev.c| 118 ++-- drivers/net/dpaa2/dpaa2_ethdev.h| 12 +++ drivers/net/dpaa2/mc/dpni.c | 29 ++-

[PATCH 04/11] mempool/dpaa2: use unified VA to IOVA conversion

2025-05-30 Thread Gagandeep Singh
From: Jun Yang Use DPAA2_VADDR_TO_IOVA to convert va to iova for both VA and PA modes. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 220 +++ 1 file changed, 141 insertions(+), 79 deletions(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c

[PATCH 03/11] bus/fslmc: add DPBP APIs for setting depletion thresholds

2025-05-30 Thread Gagandeep Singh
From: Vanshika Shukla This patch adds DPBP APIs for setting and getting the depletion/surplus thresholds for controlling pause frame generation. By default, depletion_entry is set as 128 by MC. This API would help user configure the buffer in depletion state as per requirement. Signed-off-by: V

[PATCH 02/11] net/dpaa2: fix shaper rate

2025-05-30 Thread Gagandeep Singh
This patch fixes the shaper rate by configuring the user given rate in bytes. Earlier driver was considering the user given rate value in bits. Fixes: ac624068ee25 ("net/dpaa2: support traffic management") Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/net/dpaa2/dpaa

[PATCH 00/11] NXP DPAA2 driver enhancements and fixes

2025-05-30 Thread Gagandeep Singh
configuration. - fixes for shaper rate and buffer prepration. Apeksha Gupta (4): net/dpaa2: add dpmac MC header file net/dpaa2: support dpmac counters in stats net/dpaa2: support dpmac Tx stats net/dpaa2: support dpmac Tx stats in xstats Gagandeep Singh (2): net/dpaa2: fix shaper rate

[PATCH 01/11] net/dpaa2: fix issue of extract buffer preparation

2025-05-30 Thread Gagandeep Singh
From: Jun Yang 1) The max size of extract buffer should be size of "struct dpni_ext_set_rx_tc_dist"(488), which is greater than 256. 2) dpkg_prepare_key_cfg is responsible to clear extract buffer before preparing. Fixes: 25d0ae624245 ("net/dpaa2: check IOVA before sending MC command") Cc:

RE: [EXTERNAL] [PATCH v2 0/9] DPAA2 crypto driver changes

2025-05-21 Thread Gagandeep Singh
Hi, > -Original Message- > From: Akhil Goyal > Sent: Wednesday, May 21, 2025 5:30 PM > To: Gagandeep Singh ; dev@dpdk.org > Cc: Hemant Agrawal > Subject: RE: [EXTERNAL] [PATCH v2 0/9] DPAA2 crypto driver changes > > > V2 changes: > > - fix che

RE: [PATCH 6/9] crypto/dpaa2_sec: add null algo capability

2025-05-21 Thread Gagandeep Singh
Hi, > -Original Message- > From: Hemant Agrawal (OSS) > Sent: Tuesday, May 20, 2025 11:50 AM > To: Gagandeep Singh ; dev@dpdk.org; Hemant Agrawal > > Subject: Re: [PATCH 6/9] crypto/dpaa2_sec: add null algo capability > > > On 20-05-2025 11:21, Gagandeep

[PATCH v2 8/9] mempool/dpaa2: mempool operation index

2025-05-21 Thread Gagandeep Singh
From: Jun Yang For user to identify dpaa2 mempool by operation index. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 20 +++- drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 5 - 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/mem

[PATCH v2 9/9] crypto/dpaa2_sec: add support for simple IPsec FD

2025-05-21 Thread Gagandeep Singh
From: Jun Yang For IVP mode of simple IPsec FD, store op context point just before expansion and align with point size(8). Otherwise, store op context point in offset to mbuf with rte_mbuf_dynfield register. Signed-off-by: Jun Yang --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 143

[PATCH v2 7/9] net/dpaa2: configure buffer layout

2025-05-20 Thread Gagandeep Singh
From: Jun Yang Make header room big enough for IPSec with TX dynamic confirm enabled. Ingress minimum header room: 64(size of parser result) + 8(address of SEC context) * 2. Egress minimum header room: 88(FAEAD offset) + 8(FAEAD size) + 8(address of SEC context) * 2 + 114(expansion). Signed-off-

[PATCH v2 6/9] crypto/dpaa2_sec: add null algo capability

2025-05-20 Thread Gagandeep Singh
This patch adds NULL algo capabilities. Signed-off-by: Gagandeep Singh --- doc/guides/cryptodevs/dpaa2_sec.rst | 2 + doc/guides/cryptodevs/features/dpaa2_sec.ini | 2 + drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h| 41 3 files changed, 45 insertions(+) diff

[PATCH v2 4/9] crypto/dpaa2_sec: change custom device API to standard

2025-05-20 Thread Gagandeep Singh
Replacing existing device creation and deletion code in probe and remove functions with rte_cryptodev_pmd_create() and rte_cryptodev_pmd_destroy() APIs provided by the DPDK library, simplifying drivers initialization and teardown. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec

[PATCH v2 5/9] crypto/dpaa2_sec: fix coverity Issues

2025-05-20 Thread Gagandeep Singh
From: Vanshika Shukla Fixes the uninitialized variable issue - reported by NXP internal coverity. Fixes: 1182b364312c ("crypto/dpaax_sec: set authdata in non-auth case") Cc: g.si...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Vanshika Shukla --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1

[PATCH v2 3/9] common/dpaax: support 12bit SN in pdcp uplane

2025-05-20 Thread Gagandeep Singh
update pdcp_insert_uplane_no_int_op() to support 12bit SN size Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax

[PATCH v2 2/9] common/dpaax: fix for PDCP AES only 12bit SN case

2025-05-20 Thread Gagandeep Singh
This workaround fixes the invalid key command SEC error. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenorm...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 16 ++-- 1 file c

[PATCH v2 1/9] common/dpaax: fix invalid key command error

2025-05-20 Thread Gagandeep Singh
-bit SN case. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenorm...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/driv

[PATCH v2 0/9] DPAA2 crypto driver changes

2025-05-20 Thread Gagandeep Singh
V2 changes: - fix checkpatch warning - fix 32 bit compilation error - fix a commit message - update document Gagandeep Singh (5): common/dpaax: fix invalid key command error common/dpaax: fix for PDCP AES only 12bit SN case common/dpaax: support 12bit SN in pdcp uplane crypto

RE: [PATCH 3/9] common/dpaax: support 12bit SN in pdcp uplane

2025-05-20 Thread Gagandeep Singh
Hi, > -Original Message- > From: Hemant Agrawal (OSS) > Sent: Tuesday, May 20, 2025 11:49 AM > To: Gagandeep Singh ; dev@dpdk.org; Hemant Agrawal > ; Sachin Saxena > Subject: Re: [PATCH 3/9] common/dpaax: support 12bit SN in pdcp uplane > > > On 20-05-2025 1

RE: [PATCH 1/9] common/dpaax: fix invalid key command error

2025-05-20 Thread Gagandeep Singh
Hi, > -Original Message- > From: Hemant Agrawal (OSS) > Sent: Tuesday, May 20, 2025 11:46 AM > To: Gagandeep Singh ; dev@dpdk.org; Hemant Agrawal > ; Sachin Saxena ; Franck > Lenormand ; Akhil Goyal > Cc: sta...@dpdk.org > Subject: Re: [PATCH 1/9] common/dpaax:

[PATCH 3/9] common/dpaax: support 12bit SN in pdcp uplane

2025-05-20 Thread Gagandeep Singh
update pdcp_insert_uplane_no_int_op() to support 12bit SN size Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax

[PATCH 2/9] common/dpaax: fix for PDCP AES only 12bit SN case

2025-05-19 Thread Gagandeep Singh
This workaround fixes the invalid key command SEC error. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenorm...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 16 ++-- 1 file c

[PATCH 7/9] net/dpaa2: configure buffer layout

2025-05-19 Thread Gagandeep Singh
From: Jun Yang Make header room big enough for IPSec with TX dynamic confirm enabled. Ingress minimum header room: 64(size of parser result) + 8(address of SEC context) * 2. Egress minimum header room: 88(FAEAD offset) + 8(FAEAD size) + 8(address of SEC context) * 2 + 114(expansion). Signed-off-

[PATCH 9/9] crypto/dpaa2_sec: add support for simple IPsec FD

2025-05-19 Thread Gagandeep Singh
From: Jun Yang For IVP mode of simple IPsec FD, store op context point just before expansion and align with point size(8). Otherwise, store op context point in offset to mbuf with rte_mbuf_dynfield register. Signed-off-by: Jun Yang --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 143

[PATCH 8/9] mempool/dpaa2: mempool operation index

2025-05-19 Thread Gagandeep Singh
From: Jun Yang For user to identify dpaa2 mempool by operation index. Signed-off-by: Jun Yang --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 20 +++- drivers/mempool/dpaa2/dpaa2_hw_mempool.h | 5 - 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/mem

[PATCH 6/9] crypto/dpaa2_sec: add null algo capability

2025-05-19 Thread Gagandeep Singh
This patch adds NULL algo capabilities. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 41 +++ 1 file changed, 41 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index

[PATCH 5/9] crypto/dpaa2_sec: fix coverity Issues

2025-05-19 Thread Gagandeep Singh
From: Vanshika Shukla Fixes the uninitialized variable issue - reported by NXP internal coverity. Fixes: 1182b364312c ("crypto/dpaax_sec: set authdata in non-auth case") Cc: g.si...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Vanshika Shukla --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1

[PATCH 4/9] crypto/dpaa2_sec: change custom device API to standard

2025-05-19 Thread Gagandeep Singh
Replacing existing device creation and deletion code in probe and remove functions with rte_cryptodev_pmd_create() and rte_cryptodev_pmd_destroy() APIs provided by the DPDK library, simplifying drivers initialization and teardown. Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec

[PATCH 1/9] common/dpaax: fix invalid key command error

2025-05-19 Thread Gagandeep Singh
emove outdated caamflib code") Cc: franck.lenorm...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/pdcp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/co

RE: [PATCH] eal: add worker threads cleanup in rte_eal_cleanup()

2025-01-13 Thread Gagandeep Singh
Hi, > -Original Message- > From: Stephen Hemminger > Sent: Monday, January 13, 2025 10:10 PM > To: Gagandeep Singh > Cc: dev@dpdk.org > Subject: Re: [PATCH] eal: add worker threads cleanup in rte_eal_cleanup() > > On Mon, 13 Jan 2025 05:13:01 + > Gagand

RE: [PATCH] eal: add worker threads cleanup in rte_eal_cleanup()

2025-01-12 Thread Gagandeep Singh
Hi, > -Original Message- > From: Stephen Hemminger > Sent: Friday, January 10, 2025 10:49 PM > To: Gagandeep Singh > Cc: dev@dpdk.org > Subject: Re: [PATCH] eal: add worker threads cleanup in rte_eal_cleanup() > > On Fri, 10 Jan 2025 12:17:17 +0530 > Gagandee

[PATCH] eal: add worker threads cleanup in rte_eal_cleanup()

2025-01-09 Thread Gagandeep Singh
This patch introduces a worker thread cleanup function in the EAL library, ensuring proper termination of created pthreads and invocation of registered pthread destructors. This guarantees the correct cleanup of thread-specific resources, used by drivers or applications. Signed-off-by: Gagandeep

[v3 2/3] examples/l3fwd: fix return value on rules add

2024-11-19 Thread Gagandeep Singh
fix return value on adding the EM or LPM rules. Fixes: e7e6dd643092 ("examples/l3fwd: support config file for EM") Fixes: 52def963fc1c ("examples/l3fwd: support config file for LPM/FIB") Cc: sean.morris...@intel.com Cc: sta...@dpdk.org Signed-off-by: Gagandeep Singh

[v3 0/3] L3fwd changes

2024-11-19 Thread Gagandeep Singh
v3 changes: * rebased the series to latest commit. v2 changes: * Handled a comment to enhance the invalid port ID logic and added a user option to decide exit or silently skip in case invalid port in the rules list. Gagandeep Singh (3): examples/l3fwd: support single route file

RE: [v2 3/3] examples/l3fwd: enhance valid ports checking

2024-11-19 Thread Gagandeep Singh
Hi, > -Original Message- > From: Thomas Monjalon > Sent: Tuesday, November 19, 2024 10:43 PM > To: Gagandeep Singh > Cc: dev@dpdk.org; Stephen Hemminger > Subject: Re: [v2 3/3] examples/l3fwd: enhance valid ports checking > > 13/11/2024 20:39, Stephen Hemmi

[v3 3/3] examples/l3fwd: enhance valid ports checking

2024-11-19 Thread Gagandeep Singh
", to control the behavior when attempting to add rules for disabled or invalid port IDs (either exit or skip) - Creating a port ID validation function for use across various setup functions Signed-off-by: Gagandeep Singh --- examples/l3fwd/em_route_parse.c | 4 +-- examples/l3f

[v3 1/3] examples/l3fwd: support single route file

2024-11-19 Thread Gagandeep Singh
s. Signed-off-by: Gagandeep Singh --- examples/l3fwd/em_route_parse.c | 18 ++ examples/l3fwd/lpm_route_parse.c | 17 ++--- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/examples/l3fwd/em_route_parse.c b/examples/l3fwd/em_route_parse.c index

[v7 15/15] bus/dpaa: add port bmi stats

2024-10-15 Thread Gagandeep Singh
From: Hemant Agrawal Add BMI statistics and fixing the existing extended statistics Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- drivers/bus/dpaa/base/fman/fman_hw.c | 65 +++- drivers/bus/dpaa/include/fman.h | 4 +- drivers/bus/dpaa/include

[v7 14/15] dma/dpaa: add DMA error checks

2024-10-15 Thread Gagandeep Singh
From: Jun Yang add user configurable DMA error checks. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- doc/guides/dmadevs/dpaa.rst | 6 ++ drivers/dma/dpaa/dpaa_qdma.c | 135 ++- drivers/dma/dpaa/dpaa_qdma.h | 42 ++ drivers/net

[v7 13/15] dma/dpaa: add Scatter Gather support

2024-10-15 Thread Gagandeep Singh
From: Jun Yang Support copy_sg operation for scatter gather. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 55 drivers/dma/dpaa/dpaa_qdma.h | 10 ++- 2 files changed, 64 insertions(+), 1 deletion(-) diff

[v7 12/15] dma/dpaa: qdma stall workaround for ERR050265

2024-10-15 Thread Gagandeep Singh
stall issue due to unaligned transactions. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- config/arm/meson.build | 3 ++- doc/guides/dmadevs/dpaa.rst | 1 + drivers/dma/dpaa/dpaa_qdma.c | 9 + 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/arm

[v7 11/15] dma/dpaa: add workaround for ERR050757

2024-10-15 Thread Gagandeep Singh
unfinished. All subsequent outbound reads to PCIe are blocked permanently. To avoid qDMA hang as it keeps waiting for data that was silently dropped, set stride mode for qDMA. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- config/arm/meson.build | 3 ++- doc/guides/dmadevs

[v7 10/15] dma/dpaa: add silent mode support

2024-10-15 Thread Gagandeep Singh
From: Jun Yang add silent mode support. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 46 drivers/dma/dpaa/dpaa_qdma.h | 1 + 2 files changed, 42 insertions(+), 5 deletions(-) diff --git a/drivers/dma/dpaa

[v7 09/15] dma/dpaa: support burst capacity API

2024-10-15 Thread Gagandeep Singh
From: Jun Yang This patch improves the dpaa qdma driver and adds dpaa_qdma_burst_capacity API which returns the remaining space in the descriptor ring. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 10 ++ 1 file changed, 10 insertions

[v7 08/15] dma/dpaa: refactor driver

2024-10-15 Thread Gagandeep Singh
From: Jun Yang This patch refactor the DPAA DMA driver code with changes: - HW descriptors rename and update with details. - update qdma engine and queue structures - using rte_ring APIs for enqueue and dequeue. Signed-off-by: Jun Yang Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa

[v7 07/15] dma/dpaa2: move the qdma header to common place

2024-10-15 Thread Gagandeep Singh
From: Jun Yang Include rte_pmd_dpaax_qdma.h instead of rte_pmd_dpaa2_qdma.h and change code accordingly. Signed-off-by: Jun Yang --- doc/api/doxy-api-index.md | 2 +- doc/api/doxy-api.conf.in | 2 +- drivers/common/dpaax/meson.build | 3 +- drivers/

  1   2   3   4   5   6   7   8   9   >