[PATCH v3 12/12] baseband/acc: clean up of VRB1 capabilities

2024-10-09 Thread Hernan Vargas
The interrupt support was defeatured on the VRB1 device. Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/vrb1.rst | 3 --- drivers/baseband/acc/rte_vrb_pmd.c | 8 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/doc/guides/bbdevs/vrb1.rst b/doc/guides/bbdevs

[PATCH v3 11/12] baseband/acc: rte free refactor

2024-10-09 Thread Hernan Vargas
Refactor to explicitly set pointer to NULL after free to avoid double free. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 23 +++-- drivers/baseband/acc/rte_vrb_pmd.c| 48 +++ 2 files changed, 39 insertions(+), 32 deletions(-) diff

[PATCH v3 10/12] baseband/acc: cosmetic changes

2024-10-09 Thread Hernan Vargas
Cosmetic code changes. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- drivers/baseband/acc/rte_vrb_pmd.c| 54 +-- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v3 09/12] baseband/acc: reset ring data valid bit

2024-10-09 Thread Hernan Vargas
Reset only the valid bit to keep info ring data notably for dumping. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc

[PATCH v3 08/12] baseband/acc: remove check on HARQ memory

2024-10-09 Thread Hernan Vargas
Automatically reset HARQ memory to prevent errors and simplify usage. In a way we can assume that the HARQ output operation will always overwrite the buffer, so we can reset this from the driver to prevent an error being reported when application fails to do this explicitly. Signed-off-by: Hernan

[PATCH v3 07/12] baseband/acc: algorithm tuning for LDPC decoder

2024-10-09 Thread Hernan Vargas
Reverting to MS1 version of the algorithm to improve MU1 fading conditions. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers

[PATCH v3 06/12] baseband/acc: enhance SW ring alignment

2024-10-09 Thread Hernan Vargas
Calculate the aligned total size required for queue rings, ensuring that the size is a power of two for proper memory allocation. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v3 05/12] baseband/acc: future proof structure comparison

2024-10-09 Thread Hernan Vargas
Some implementation in the PMD is based on some size assumption from the bbdev structure, which should use sizeof instead to be more future proof in case these structures change. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 4 ++-- 1 file

[PATCH v3 04/12] baseband/acc: configure max queues per device

2024-10-09 Thread Hernan Vargas
Configure max_queues based on the number of queue groups and numbers of AQS per device variant. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v3 03/12] baseband/acc: queue allocation refactor

2024-10-09 Thread Hernan Vargas
Refactor to manage queue memory per operation more flexibly for VRB devices. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 5 + drivers/baseband/acc/rte_vrb_pmd.c | 214 - 2 files changed, 157 insertions(+), 62 deletions(-) diff --git a

[PATCH v3 02/12] baseband/acc: fix soft output bypass RM

2024-10-09 Thread Hernan Vargas
Removing soft output bypass RM capability due to VRB2 device limitations. Fixes: b49fe052f9cd ("baseband/acc: add FEC capabilities for VRB2 variant") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 7 +++ 1 file changed, 3 insert

[PATCH v3 01/12] baseband/acc: fix access to deallocated mem

2024-10-09 Thread Hernan Vargas
Prevent op_addr access during queue_stop operation, as this memory may have been deallocated. Fixes: e640f6cdfa84 ("baseband/acc200: add LDPC processing") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_

[PATCH v3 00/12] acc baseband PMD fix and updates for 24.11

2024-10-09 Thread Hernan Vargas
queue allocation and general improvements. Hernan Vargas (12): baseband/acc: fix access to deallocated mem baseband/acc: fix soft output bypass RM baseband/acc: queue allocation refactor baseband/acc: configure max queues per device baseband/acc: future proof structure comparison

[PATCH v2 10/10] baseband/acc: cosmetic changes

2024-10-03 Thread Hernan Vargas
Cosmetic code changes. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- drivers/baseband/acc/rte_vrb_pmd.c| 62 +++ 2 files changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v2 08/10] baseband/acc: remove check on HARQ memory

2024-10-03 Thread Hernan Vargas
Automatically reset HARQ memory to prevent errors and simplify usage. In a way we can assume that the HARQ output operation will always overwrite the buffer, so we can reset this from the driver to prevent an error being reported when application fails to do this explicitly. Signed-off-by: Hernan

[PATCH v2 09/10] baseband/acc: reset ring data valid bit

2024-10-03 Thread Hernan Vargas
Reset only the valid bit to keep info ring data notably for dumping. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c index

[PATCH v2 07/10] baseband/acc: algorithm tuning for LDPC decoder

2024-10-03 Thread Hernan Vargas
Reverting to MS1 version of the algorithm to improve MU1 fading conditions. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c

[PATCH v2 05/10] baseband/acc: enhance SW ring alignment

2024-10-03 Thread Hernan Vargas
Calculate the aligned total size required for queue rings, ensuring that the size is a power of two for proper memory allocation. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v2 06/10] baseband/acc: remove soft output bypass

2024-10-03 Thread Hernan Vargas
Removing soft output bypass capability due to device limitations. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c index

[PATCH v2 04/10] baseband/acc: future proof structure comparison

2024-10-03 Thread Hernan Vargas
Some implementation in the PMD is based on some size assumption from the bbdev structure, which should use sizeof instead to be more future proof in case these structures change. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 03/10] baseband/acc: configure max queues per device

2024-10-03 Thread Hernan Vargas
Configure max_queues based on the number of queue groups and numbers of AQS per device variant. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband

[PATCH v2 02/10] baseband/acc: queue allocation refactor

2024-10-03 Thread Hernan Vargas
Refactor to manage queue memory per operation more flexibly for VRB devices. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 5 + drivers/baseband/acc/rte_vrb_pmd.c | 214 - 2 files changed, 157 insertions(+), 62 deletions(-) diff --git a

[PATCH v2 01/10] baseband/acc: fix access to deallocated mem

2024-10-03 Thread Hernan Vargas
Prevent op_addr access during queue_stop operation, as this memory may have been deallocated. Fixes: e640f6cdfa84 ("baseband/acc200: add LDPC processing") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_

[PATCH v2 00/10] acc baseband PMD fix and updates for 24.11

2024-10-03 Thread Hernan Vargas
This series targets 24.11. v2: Rebased to the latest next-baseband-for-main which includes needed rte_bbdev lib updates. v1: It includes a memory access fix, refactoring of queue allocation and general improvements. Hernan Vargas (10): baseband/acc: fix access to deallocated mem baseband

[PATCH v1 09/10] baseband/acc: reset ring data valid bit

2024-08-30 Thread Hernan Vargas
Reset only the valid bit to keep info ring data notably for dumping. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c index

[PATCH v1 10/10] baseband/acc: cosmetic changes

2024-08-30 Thread Hernan Vargas
Cosmetic code changes. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 3 +- drivers/baseband/acc/rte_vrb_pmd.c| 72 ++- 2 files changed, 50 insertions(+), 25 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v1 08/10] baseband/acc: remove check on HARQ memory

2024-08-30 Thread Hernan Vargas
Automatically reset HARQ memory to prevent errors and simplify usage. In a way we can assume that the HARQ output operation will always overwrite the buffer, so we can reset this from the driver to prevent an error being reported when application fails to do this explicitly. Signed-off-by: Hernan

[PATCH v1 07/10] baseband/acc: algorithm tuning for LDPC decoder

2024-08-30 Thread Hernan Vargas
Reverting to MS1 version of the algorithm to improve MU1 fading conditions. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c

[PATCH v1 06/10] baseband/acc: remove soft output bypass

2024-08-30 Thread Hernan Vargas
Removing soft output bypass capability due to device limitations. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c index

[PATCH v1 05/10] baseband/acc: enhance SW ring alignment

2024-08-30 Thread Hernan Vargas
Calculate the aligned total size required for queue rings, ensuring that the size is a power of two for proper memory allocation. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v1 04/10] baseband/acc: future proof structure comparison

2024-08-30 Thread Hernan Vargas
Some implementation in the PMD is based on some size assumption from the bbdev structure, which should use sizeof instead to be more future proof in case these structures change. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v1 03/10] baseband/acc: configure max queues per device

2024-08-30 Thread Hernan Vargas
Configure max_queues based on the number of queue groups and numbers of AQS per device variant. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband

[PATCH v1 02/10] baseband/acc: queue allocation refactor

2024-08-30 Thread Hernan Vargas
Refactor to manage queue memory per operation more flexibly for VRB devices. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 5 + drivers/baseband/acc/rte_vrb_pmd.c | 214 - 2 files changed, 157 insertions(+), 62 deletions(-) diff --git a

[PATCH v1 01/10] baseband/acc: fix access to deallocated mem

2024-08-30 Thread Hernan Vargas
Prevent op_addr access during queue_stop operation, as this memory may have been deallocated. Fixes: e640f6cdfa84 ("baseband/acc200: add LDPC processing") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 36 -- driver

[PATCH v1 00/10] acc baseband PMD fix and updates for 24.11

2024-08-30 Thread Hernan Vargas
This series targets 24.11. It includes a memory access fix, refactoring of queue allocation and general improvements. Hernan Vargas (10): baseband/acc: fix access to deallocated mem baseband/acc: queue allocation refactor baseband/acc: configure max queues per device baseband/acc: future

[PATCH v2 1/1] drivers/baseband: device queues initialization

2024-08-23 Thread Hernan Vargas
Cosmetic change to keep code consistency in PMD for queue initialization set to zero. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 1 + drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 2 ++ drivers/baseband/fpga_lte_fec

[PATCH v2 0/1] Device queue initialization

2024-08-23 Thread Hernan Vargas
Reworded commit message for cosmetic queue initialization change. Hernan Vargas (1): drivers/baseband: device queues initialization drivers/baseband/acc/rte_acc100_pmd.c | 1 + drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 2 ++ drivers/baseband/fpga_lte_fec/fpga_lte_fec.c

[PATCH v1 1/1] drivers/baseband: fix device queues initialization

2024-07-08 Thread Hernan Vargas
To prevent incorrect readings, initialize FFT and MLDTS queues to 0. Fixes: 089148fc3f09 ("bbdev: add operation type for MLDTS processing") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 1 + drivers/baseband/fpg

[PATCH v1 0/1] fix device queues initialization

2024-07-08 Thread Hernan Vargas
Fix to initialize device queues explicitly. Hernan Vargas (1): drivers/baseband: fix device queues initialization drivers/baseband/acc/rte_acc100_pmd.c | 1 + drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 2 ++ drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 2

[PATCH v2 9/9] test/bbdev: remove unnecessary line

2024-06-24 Thread Hernan Vargas
Remove unnecesary line of code. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev.c b/app/test-bbdev/test_bbdev.c index cf224dca5d04..0bbce6ca923b 100644

[PATCH v2 3/9] test/bbdev: fix interrupt tests

2024-06-24 Thread Hernan Vargas
Fix possible error with regards to setting the burst size from the enqueue thread. Fixes: b2e2aec3239e ("app/bbdev: enhance interrupt test") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_p

[PATCH v2 8/9] test/bbdev: update fft measurement output

2024-06-24 Thread Hernan Vargas
Update check for FFT measurement output to better account for tolerance. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev

[PATCH v2 7/9] test/bbdev: check assumptions on fft window

2024-06-24 Thread Hernan Vargas
Add check for FFT window width. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 26 ++ app/test-bbdev/test_bbdev_vector.c | 14 ++ app/test-bbdev/test_bbdev_vector.h | 2 ++ 3 files changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v2 6/9] test/bbdev: add soft output parsing capability

2024-06-24 Thread Hernan Vargas
Add vector parsing capability for soft output vectors. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_vector.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-bbdev/test_bbdev_vector.c b/app/test-bbdev/test_bbdev_vector.c index

[PATCH v2 5/9] test/bbdev: improve timeout message format

2024-06-24 Thread Hernan Vargas
Print more info and format message for test timeouts. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test-bbdev.py | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test-bbdev.py b/app

[PATCH v2 4/9] test/bbdev: change iter-max argument

2024-06-24 Thread Hernan Vargas
-t --iter-max used for max number of iterations. -T --timeout used for test timeout value. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test-bbdev.py | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/app/test-bbdev/test

[PATCH v2 1/9] test/bbdev: fix TB logic

2024-06-24 Thread Hernan Vargas
Fix discrepancy in logic when using large fake mbuf. Fixes: fd96ef3787f1 ("test/bbdev: extend support for large TB") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletio

[PATCH v2 2/9] test/bbdev: fix MLD output size computation

2024-06-24 Thread Hernan Vargas
For perf tests, the operation size for the MLD-TS was incorrect. Fixed so that the performance numbers are correct. Largely cosmetic only. Fixes: 95f192a40e35 ("test/bbdev: add MLD cases") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_p

[PATCH v2 0/9] test-bbdev fixes and improvements for 24.07

2024-06-24 Thread Hernan Vargas
v2: Added defines for MLD calculation constants. v1:This series targets test-bbdev changes for 24.07. It includes test fixes, iter-max argument change (after deprecation notice in previous releases) and general test improvements. Hernan Vargas (9): test/bbdev: fix TB logic test/bbdev: fix

[PATCH v2 4/5] baseband/acc: improve error description

2024-05-02 Thread Hernan Vargas
Remove dead code for error and update description of one error print. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v2 5/5] baseband/acc: cosmetic log changes

2024-05-02 Thread Hernan Vargas
Minor cosmetic log change. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc

[PATCH v2 3/5] baseband/acc: remove ACC100 HARQ pruning

2024-05-02 Thread Hernan Vargas
HARQ pruning is not an ACC100 feature. Removing in effect dead code. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 33 +-- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v2 2/5] baseband/acc: remove ACC100 unused code

2024-05-02 Thread Hernan Vargas
Remove dead code and unused function in ACC100 driver. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 213 -- 1 file changed, 68 insertions(+), 145 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b

[PATCH v2 1/5] baseband/acc: fix memory barrier

2024-05-02 Thread Hernan Vargas
Moving memory barrier so that dequeue thread can be in sync with enqueue thread. Fixes: 32e8b7ea35dd ("baseband/acc100: refactor to segregate common code") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 5 +++-- 1 file changed, 3 insert

[PATCH v2 0/5] ACC100 improvements and clean up

2024-05-02 Thread Hernan Vargas
v2: Label memory barrier change as a fix. v1: This series targeting 24.07 removes unused/dead code, memory barrier improvements, cosmetic log changes. Hernan Vargas (5): baseband/acc: fix memory barrier baseband/acc: remove ACC100 unused code baseband/acc: remove ACC100 HARQ pruning

[PATCH v1 9/9] test/bbdev: remove unnecessary line

2024-04-22 Thread Hernan Vargas
Remove unnecesary line of code. No functional impact. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev.c b/app/test-bbdev/test_bbdev.c index cf224dca5d04..0bbce6ca923b 100644 --- a/app/test-bbdev

[PATCH v1 8/9] test/bbdev: update fft measurement output

2024-04-22 Thread Hernan Vargas
Update check for FFT measurement output to better account for tolerance. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev

[PATCH v1 7/9] test/bbdev: check assumptions on fft window

2024-04-22 Thread Hernan Vargas
Add check for FFT window width. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 26 ++ app/test-bbdev/test_bbdev_vector.c | 14 ++ app/test-bbdev/test_bbdev_vector.h | 2 ++ 3 files changed, 38 insertions(+), 4 deletions(-) diff --git

[PATCH v1 6/9] test/bbdev: add soft output parsing capability

2024-04-22 Thread Hernan Vargas
Add vector parsing capability for soft output vectors. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_vector.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-bbdev/test_bbdev_vector.c b/app/test-bbdev/test_bbdev_vector.c index 42fa630041e9..b3e9d4bb7504 100644

[PATCH v1 5/9] test/bbdev: improve timeout message format

2024-04-22 Thread Hernan Vargas
Print more info and format message for test timeouts. No functional impact. Signed-off-by: Hernan Vargas --- app/test-bbdev/test-bbdev.py | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py index

[PATCH v1 4/9] test/bbdev: change iter-max argument

2024-04-22 Thread Hernan Vargas
-t --iter-max used for max number of iterations. -T --timeout used for test timeout value. Signed-off-by: Hernan Vargas --- app/test-bbdev/test-bbdev.py | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test

[PATCH v1 3/9] test/bbdev: fix interrupt tests

2024-04-22 Thread Hernan Vargas
Fix possible error with regards to setting the burst size from the enqueue thread. Fixes: b2e2aec3239e ("app/bbdev: enhance interrupt test") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 98 1 file c

[PATCH v1 2/9] test/bbdev: fix MLD output size computation

2024-04-22 Thread Hernan Vargas
For perf tests, the operation size for the MLD-TS was incorrect. Fixed so that the performance numbers are correct. Largely cosmetic only. Fixes: 95f192a40e35 ("test/bbdev: add MLD cases") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 10 +++

[PATCH v1 1/9] test/bbdev: fix TB logic

2024-04-22 Thread Hernan Vargas
Fix discrepancy in logic when using large fake mbuf. Fixes: fd96ef3787f1 ("test/bbdev: extend support for large TB") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/

[PATCH v1 0/9] test-bbdev fixes and improvements for 24.07

2024-04-22 Thread Hernan Vargas
This series targets test-bbdev changes for 24.07. It includes test fixes, iter-max argument change (after deprecation notice in previous releases) and general test improvements. Hernan Vargas (9): test/bbdev: fix TB logic test/bbdev: fix MLD output size computation test/bbdev: fix

[PATCH v1 2/5] baseband/acc: remove ACC100 HARQ pruning

2024-04-22 Thread Hernan Vargas
HARQ pruning is not an ACC100 feature. Removing in effect dead code. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 33 +-- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband

[PATCH v1 5/5] baseband/acc: cosmetic log changes

2024-04-22 Thread Hernan Vargas
Minor cosmetic log change. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c index 8ec521675f34

[PATCH v1 4/5] baseband/acc: improve error description

2024-04-22 Thread Hernan Vargas
Remove dead code for error and update description of one error print. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc

[PATCH v1 3/5] baseband/acc: move memory barrier

2024-04-22 Thread Hernan Vargas
Moving memory barrier so that dequeue thread can be in sync with enqueue thread. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/acc_common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc/acc_common.h b/drivers/baseband/acc/acc_common.h

[PATCH v1 1/5] baseband/acc: remove ACC100 unused code

2024-04-22 Thread Hernan Vargas
Remove dead code and unused function in ACC100 driver. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 213 -- 1 file changed, 68 insertions(+), 145 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc

[PATCH v1 0/5] ACC100 improvements and clean up

2024-04-22 Thread Hernan Vargas
This series targeting 24.07 removes unused/dead code, memory barrier improvements, cosmetic log changes. Hernan Vargas (5): baseband/acc: remove ACC100 unused code baseband/acc: remove ACC100 HARQ pruning baseband/acc: move memory barrier baseband/acc: improve error description

[PATCH v7 6/6] baseband/fpga_5gnr_fec: cosmetic comment changes

2024-02-08 Thread Hernan Vargas
Cosmetic changes for comments. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 49 ++-- .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 258 +- .../fpga_5gnr_fec/rte_pmd_fpga_5gnr_fec.h

[PATCH v7 5/6] baseband/fpga_5gnr_fec: add AGX100 support

2024-02-08 Thread Hernan Vargas
Add support for new FPGA variant AGX100 (on Arrow Creek N6000). Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 69 +- drivers/baseband/fpga_5gnr_fec/agx100_pmd.h | 273 .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 10

[PATCH v7 4/6] baseband/fpga_5gnr_fec: rework total number queues

2024-02-08 Thread Hernan Vargas
Add total_num_queues to the FPGA device struct as a preliminary rework for the introduction of different FPGA variants. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 2 + .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 37

[PATCH v7 3/6] baseband/fpga_5gnr_fec: add Vista Creek variant

2024-02-08 Thread Hernan Vargas
Create a new file vc_5gnr_pmd.h to store structures and macros specific to Vista Creek 5G FPGA implementation and rename functions specific to the Vista Creek variant. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 183

[PATCH v7 2/6] baseband/fpga_5gnr_fec: renaming for consistency

2024-02-08 Thread Hernan Vargas
Rename generic functions and constants using the FPGA 5GNR prefix naming to prepare for code reuse for new FPGA implementation variant. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 117

[PATCH v7 1/6] doc: fix fpga 5gnr configuration values

2024-02-08 Thread Hernan Vargas
flr_timeout was removed from the code a while ago, updating doc. Fix minor typo in 5GNR example. Fixes: 2d4306438c92 ("baseband/fpga_5gnr_fec: add configure function") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/fpga_5gnr_f

[PATCH v7 0/6] changes for 24.03

2024-02-08 Thread Hernan Vargas
: Targeting 23.11. Update in commits 1,2 based on review comments. v1: Targeting 23.07 if possible. Add support for AGX100 (N6000) and corner case fixes. Hernan Vargas (6): doc: fix fpga 5gnr configuration values baseband/fpga_5gnr_fec: renaming for consistency baseband/fpga_5gnr_fec: add Vista Creek

[PATCH v6 6/6] baseband/fpga_5gnr_fec: cosmetic comment changes

2024-02-07 Thread Hernan Vargas
Cosmetic changes for comments. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 49 ++-- .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 258 +- .../fpga_5gnr_fec/rte_pmd_fpga_5gnr_fec.h

[PATCH v6 5/6] baseband/fpga_5gnr_fec: add AGX100 support

2024-02-07 Thread Hernan Vargas
Add support for new FPGA variant AGX100 (on Arrow Creek N6000). Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 69 +- drivers/baseband/fpga_5gnr_fec/agx100_pmd.h | 273 .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 10 +- .../fpga_5gnr_fec

[PATCH v6 4/6] baseband/fpga_5gnr_fec: rework total number queues

2024-02-07 Thread Hernan Vargas
Add total_num_queues to the FPGA device struct as a preliminary rework for the introduction of different FPGA variants. Signed-off-by: Hernan Vargas --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 2 + .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 37 +++ 2 files changed

[PATCH v6 3/6] baseband/fpga_5gnr_fec: add Vista Creek variant

2024-02-07 Thread Hernan Vargas
Create a new file vc_5gnr_pmd.h to store structures and macros specific to Vista Creek 5G FPGA implementation and rename functions specific to the Vista Creek variant. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 183

[PATCH v6 2/6] baseband/fpga_5gnr_fec: renaming for consistency

2024-02-07 Thread Hernan Vargas
Rename generic functions and constants using the FPGA 5GNR prefix naming to prepare for code reuse for new FPGA implementation variant. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 117

[PATCH v6 1/6] doc: fix fpga 5gnr configuration values

2024-02-07 Thread Hernan Vargas
flr_timeout was removed from the code a while ago, updating doc. Fix minor typo in 5GNR example. Fixes: 2d4306438c92 ("baseband/fpga_5gnr_fec: add configure function") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/fpga_5gnr_f

[PATCH v6 0/6] changes for 24.03

2024-02-07 Thread Hernan Vargas
review comments. v1: Targeting 23.07 if possible. Add support for AGX100 (N6000) and corner case fixes. Hernan Vargas (6): doc: fix fpga 5gnr configuration values baseband/fpga_5gnr_fec: renaming for consistency baseband/fpga_5gnr_fec: add Vista Creek variant baseband/fpga_5gnr_fec: rework

[PATCH v5 5/5] baseband/fpga_5gnr_fec: cosmetic comment changes

2024-01-23 Thread Hernan Vargas
Cosmetic changes for comments. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/fpga_5gnr_fec/agx100_pmd.h | 4 +- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 49 ++-- .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 258 +- .../fpga_5gnr_fec

[PATCH v5 4/5] baseband/fpga_5gnr_fec: add AGX100 support

2024-01-23 Thread Hernan Vargas
Add support for new FPGA variant AGX100 (on Arrow Creek N6000). Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 69 +- drivers/baseband/fpga_5gnr_fec/agx100_pmd.h | 273 .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 12 +- .../fpga_5gnr_fec

[PATCH v5 3/5] baseband/fpga_5gnr_fec: add Vista Creek variant

2024-01-23 Thread Hernan Vargas
Create a new file vc_5gnr_pmd.h to store structures and macros specific to Vista Creek 5G FPGA implementation and rename functions specific to the Vista Creek variant. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 183

[PATCH v5 2/5] baseband/fpga_5gnr_fec: renaming for consistency

2024-01-23 Thread Hernan Vargas
Rename generic functions and constants using the FPGA 5GNR prefix naming to prepare for code reuse for new FPGA implementation variant. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 117

[PATCH v5 0/5] changes for 24.03

2024-01-23 Thread Hernan Vargas
AGX100 (N6000) and corner case fixes. Hernan Vargas (5): doc: fix fpga 5gnr configuration values baseband/fpga_5gnr_fec: renaming for consistency baseband/fpga_5gnr_fec: add Vista Creek variant baseband/fpga_5gnr_fec: add AGX100 support baseband/fpga_5gnr_fec: cosmetic comment changes doc

[PATCH v5 1/5] doc: fix fpga 5gnr configuration values

2024-01-23 Thread Hernan Vargas
flr_timeout was removed from the code a while ago, updating doc. Fix minor typo in 5GNR example. Fixes: 2d4306438c92 ("baseband/fpga_5gnr_fec: add configure function") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 7 +-- 1 file

[PATCH v1 0/1] baseband/acc: remove ACC101 variant

2024-01-12 Thread Hernan Vargas
Removing obsolete code for ACC101 variant which will not be productized. Hernan Vargas (1): baseband/acc: remove acc101 doc/guides/bbdevs/acc100.rst | 18 +- doc/guides/rel_notes/release_24_03.rst | 1 + drivers/baseband/acc/acc100_pmd.h | 5 +- drivers/baseband/acc

[PATCH v1 1/1] baseband/acc: remove acc101

2024-01-12 Thread Hernan Vargas
The ACC101 HW variant is not productized, the relevant code is removed as obsolete. Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/acc100.rst | 18 +- doc/guides/rel_notes/release_24_03.rst | 1 + drivers/baseband/acc/acc100_pmd.h | 5 +- drivers/baseband/acc

[PATCH v4 4/4] baseband/fpga_5gnr_fec: cosmetic comment changes

2024-01-05 Thread Hernan Vargas
Cosmetic changes for comments. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/fpga_5gnr_fec/agx100_pmd.h | 4 +- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 49 ++-- .../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 248 +- .../fpga_5gnr_fec

[PATCH v4 3/4] baseband/fpga_5gnr_fec: add AGX100 support

2024-01-05 Thread Hernan Vargas
Add support for new FPGA variant AGX100 (on Arrow Creek N6000). Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 76 +- drivers/baseband/fpga_5gnr_fec/agx100_pmd.h | 273 .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 12 +- .../fpga_5gnr_fec

[PATCH v4 2/4] baseband/fpga_5gnr_fec: add Vista Creek variant

2024-01-05 Thread Hernan Vargas
Create a new file vc_5gnr_pmd.h to store structures and macros specific to Vista Creek 5G FPGA implementation and rename functions specific to the Vista Creek variant. Signed-off-by: Hernan Vargas --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 183 ++- .../fpga_5gnr_fec

[PATCH v4 1/4] baseband/fpga_5gnr_fec: renaming for consistency

2024-01-05 Thread Hernan Vargas
Rename generic functions and constants using the FPGA 5GNR prefix naming to prepare for code reuse for new FPGA implementation variant. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- .../baseband/fpga_5gnr_fec/fpga_5gnr_fec.h| 117

[PATCH v4 0/4] changes for 24.03

2024-01-05 Thread Hernan Vargas
v4: Targeting 24.03. Updated FPGA PMD based on review comments. v3: Made changes requested during review. v2: Targeting 23.11. Update in commits 1,2 based on review comments. v1: Targeting 23.07 if possible. Add support for AGX100 (N6000) and corner case fixes. Hernan Vargas (4): baseband

[PATCH v1 2/2] doc: update FlexRAN SDK links

2023-10-10 Thread Hernan Vargas
Update FlexRAN SDK module link to use FEC_SDK_23.07. Update compiler links to use ICX. Update build SDK build instructions. Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/turbo_sw.rst | 53 +++--- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a

[PATCH v1 1/2] baseband/acc: support ACC100 deRM corner case SDK

2023-10-10 Thread Hernan Vargas
-by: Hernan Vargas --- drivers/baseband/acc/meson.build | 23 ++- drivers/baseband/acc/rte_acc100_pmd.c | 59 +-- 2 files changed, 77 insertions(+), 5 deletions(-) diff --git a/drivers/baseband/acc/meson.build b/drivers/baseband/acc/meson.build index

  1   2   3   4   >