[PATCH v2 1/1] baseband/acc: fix ring memory allocation logic

2024-11-07 Thread Nicolas Chautru
Allowing ring memory allocation whose end address is aligned with 64 MB. Previous logic was off by one. Fixes: 060e76729302 ("baseband/acc100: add queue configuration") Cc: sta...@dpdk.org Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 2 +- 1 file changed, 1

[PATCH v2 0/1] baseband/acc: fix ring memory allocation logic\

2024-11-07 Thread Nicolas Chautru
Hi Maxime, v2: following your suggestion which is best indeed. Can you please review and apply that fix for 24.11. Thanks, Nic Nicolas Chautru (1): baseband/acc: fix ring memory allocation logic drivers/baseband/acc/acc_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v1 1/1] baseband/acc: fix ring memory allocation logic

2024-10-30 Thread Nicolas Chautru
Allowing ring memory allocation whose end address is aligned with 64 MB. Previous logic was off by one. Fixes: 060e76729302 ("baseband/acc100: add queue configuration") Cc: sta...@dpdk.org Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 2 +- 1 file changed, 1

[PATCH v1 0/1] baseband/acc: fix ring memory allocation logic

2024-10-30 Thread Nicolas Chautru
Hi Maxime, Can you please review and apply that fix for 24.11. Thanks, Nic Nicolas Chautru (1): baseband/acc: fix ring memory allocation logic drivers/baseband/acc/acc_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1

[PATCH v1 0/2] app/bbdev: minor application updates

2024-10-25 Thread Nicolas Chautru
Hi Maxime, all, Adding a couple of changes to the built in test application for bbdev test on top of previous changes. Thanks, Nic Nicolas Chautru (2): app/bbdev: add capture of queue dump app/bbdev: add support for interrupt disable app/test-bbdev/test_bbdev_perf.c | 40

[PATCH v1 2/2] app/bbdev: add support for interrupt disable

2024-10-25 Thread Nicolas Chautru
Adding support for calling the interrupt disable api for coverage. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 24 1 file changed, 24 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index

[PATCH v1 1/2] app/bbdev: add capture of queue dump

2024-10-25 Thread Nicolas Chautru
Capturing additional queue dump information in the bbdev-test application using the api introduced earlier. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 16 1 file changed, 16 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev

[PATCH v1 2/2] baseband/acc: saturate input to 6 bits for VRB decoder

2024-10-14 Thread Nicolas Chautru
Making the decoder more robust by forcing a default 6 bits LLR saturation to LDPC Decoder input. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c

[PATCH v1 1/2] baseband/acc: FFT support in VRB2 PRQ device

2024-10-14 Thread Nicolas Chautru
Supporting recent change in the device to extend FFT capability processing in latest stepping. Also including cosmetic change to VRB2 register definition. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 2 +- drivers/baseband/acc/rte_vrb_pmd.c | 30

[PATCH v1 0/2] baseband/acc: vrb2 FFT support

2024-10-14 Thread Nicolas Chautru
Hi, Additional and final series for the VRB2 PMD. Now supporting latest FFT processing (available on final stepping of the device ) and generic improvement to decoder configuration. Thanks Nic Nicolas Chautru (2): baseband/acc: FFT support in VRB2 PRQ device baseband/acc: saturate input to

[PATCH v4 1/2] bbdev: add new function to dump debug information

2024-09-26 Thread Nicolas Chautru
previous operations provided into a queue causing possible hard-to-debug negative scenarios. Signed-off-by: Nicolas Chautru Acked-by: Hemant Agrawal --- lib/bbdev/rte_bbdev.c | 213 ++ lib/bbdev/rte_bbdev.h | 47 + lib/bbdev/rte_bbdev_pmd.h | 9

[PATCH v4 2/2] baseband/acc: improvement to logging mechanism

2024-09-26 Thread Nicolas Chautru
Support the new dev op to dump operations information related to a given queue tracked internally in PMD. Signed-off-by: Nicolas Chautru Acked-by: Hemant Agrawal --- drivers/baseband/acc/rte_vrb_pmd.c | 59 +- 1 file changed, 58 insertions(+), 1 deletion(-) diff

[PATCH v4 0/2] bbdev: dump debug information

2024-09-26 Thread Nicolas Chautru
not enabled at run time, but information can be dump into file when an issue happens and requires extra information. This collates now multiple source of errors detected notably at driver level made more explicit. Thanks, Nic Nicolas Chautru (2): bbdev: add new function to dump debug information

[PATCH v3 2/2] baseband/acc: improvement to logging mechanism

2024-09-13 Thread Nicolas Chautru
Support the new dev op to dump operations information related to a given queue and information on previous errors detected by the driver and tracked internally in PMD. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 38 + drivers/baseband/acc/rte_vrb_pmd.c | 129

[PATCH v3 1/2] bbdev: add new function to dump debug information

2024-09-13 Thread Nicolas Chautru
previous operations provided into a queue causing possible hard-to-debug negative scenarios. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.c | 213 ++ lib/bbdev/rte_bbdev.h | 47 + lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map

[PATCH v3 0/2] bbdev: dump debug information

2024-09-13 Thread Nicolas Chautru
collates now multiple source of errors detected notably at driver level made more explicit. Thanks, Nic Nicolas Chautru (2): bbdev: add new function to dump debug information baseband/acc: improvement to logging mechanism drivers/baseband/acc/acc_common.h | 38 + drivers/baseband/acc

[PATCH v2 2/2] baseband/acc: improvement to logging mechanism

2024-08-29 Thread Nicolas Chautru
Support the new dev op to dump operations information related to a given queue and information on previous errors detected by the driver and tracked internally in PMD. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 37 + drivers/baseband/acc/rte_vrb_pmd.c | 128

[PATCH v2 1/2] bbdev: add new function to dump debug information

2024-08-29 Thread Nicolas Chautru
previous operations provided into a queue causing possible hard-to-debug negative scenarios. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.c | 214 ++ lib/bbdev/rte_bbdev.h | 41 lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map

[PATCH v2 0/2] bbdev: dump debug information

2024-08-29 Thread Nicolas Chautru
, Nic Nicolas Chautru (2): bbdev: add new function to dump debug information baseband/acc: improvement to logging mechanism drivers/baseband/acc/acc_common.h | 37 + drivers/baseband/acc/rte_vrb_pmd.c | 128 + lib/bbdev/rte_bbdev.c | 214

[PATCH v3 0/1] bbdev: removing unnecessaray symbols

2024-08-27 Thread Nicolas Chautru
as part of CICD do no enforce versionning for inline functions either. Discussed a bitwith Maxime off list. Any thoughts? Good to clean it up now. v1: A few functions were somehow missing for the last few years in the version map file. Nicolas Chautru (1): bbdev: removing unnecessary

[PATCH v3 1/1] bbdev: removing unnecessary symbols from version map

2024-08-27 Thread Nicolas Chautru
A number of inline functions should not be in the version map since ABI versioning would be irrelevant. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.h| 1 - lib/bbdev/rte_bbdev_op.h | 2 -- lib/bbdev/version.map| 24 +--- 3 files changed, 1 insertion

[PATCH v2 1/1] bbdev: removing unnecessaray symbols from version map

2024-08-27 Thread Nicolas Chautru
A number of inline functions should not be in the version map since ABI versionning would be irrelevant. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.h| 1 - lib/bbdev/rte_bbdev_op.h | 2 -- lib/bbdev/version.map| 24 +--- 3 files changed, 1 insertion

[PATCH v2 0/1] bbdev: removing unnecessaray symbols

2024-08-27 Thread Nicolas Chautru
do no enforce versionning for inline functions either. Discussed a bitwith Maxime off list. Any thoughts? Good to clean it up now. v1: A few functions were somehow missing for the last few years in the version map file. Nicolas Chautru (1): bbdev: removing unnecessaray symbols from version

[PATCH v2 2/3] baseband/acc: refactor queue status update

2024-08-12 Thread Nicolas Chautru
Introducing common function for queue stats update within the acc PMDs. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 18 drivers/baseband/acc/rte_acc100_pmd.c | 45 ++-- drivers/baseband/acc/rte_vrb_pmd.c| 61

[PATCH v2 3/3] test/bbdev: update for queue stats

2024-08-12 Thread Nicolas Chautru
Update to include in test application the queue stats for the enqueue_depth_avail counter. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 3a94f15a30

[PATCH v2 1/3] bbdev: new queue stat for available enqueue depth

2024-08-12 Thread Nicolas Chautru
Capturing additional queue stats counter for the depth of enqueue batch still available on the given queue. This can help application to monitor that depth at run time. Signed-off-by: Nicolas Chautru --- doc/guides/rel_notes/release_24_11.rst | 3 +++ lib/bbdev/rte_bbdev.h | 2

[PATCH v2 0/3] bbdev: sdditional queue stats

2024-08-12 Thread Nicolas Chautru
including the new one. The application is also updated. Thanks Nic Nicolas Chautru (3): bbdev: new queue stat for available enqueue depth baseband/acc: refactor queue status update test/bbdev: update for queue stats app/test-bbdev/test_bbdev_perf.c | 1 + doc/guides/rel_notes

[PATCH v1 2/2] baseband/acc: improvement to logging mechanism

2024-07-01 Thread Nicolas Chautru
Support the new dev op to dump operations information related to a given queue and information on previous errors detected by the driver and tracked internally in PMD. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 37 + drivers/baseband/acc/rte_vrb_pmd.c | 128

[PATCH v1 1/2] bbdev: add new function to dump debug information

2024-07-01 Thread Nicolas Chautru
previous operations provided into a queue causing possible hard-to-debug negative scenarios. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.c | 214 ++ lib/bbdev/rte_bbdev.h | 41 lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map

[PATCH v1 0/2] bbdev: dump debug information

2024-07-01 Thread Nicolas Chautru
practive logging is not enabled at run time, but information can be dump into file when an issue happens and requires extra information. This collates now multiple source of errors detected notably at driver level made more explicit. Thanks, Nic Nicolas Chautru (2): bbdev: add new function to

[PATCH v1 3/3] baseband/acc: add support for k0 parameter

2024-07-01 Thread Nicolas Chautru
The k0 may be provided to the PMD, which would be used as the circular buffer starting position instead of value which would be computed from legacy rv_index derived computation. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 6 -- drivers/baseband/acc

[PATCH v1 1/3] bbdev: new k0 parameter for LDPC decoder operation

2024-07-01 Thread Nicolas Chautru
In latest 3GPP 38.212, the k0 value is not necessaraly directly derived from rv_index, in that case a value can be provided in API. When this value is non null this would override the value which would be computed purely from rv_index. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide

[PATCH v1 2/3] test/bbdev: add support for k0 parameter

2024-07-01 Thread Nicolas Chautru
New k0 added in LDPC decoder structure can be parsed by the bbdev test application. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 7 +-- app/test-bbdev/test_bbdev_vector.c | 4 app/test-bbdev/test_bbdev_vector.h | 1 + 3 files changed, 10 insertions(+), 2

[PATCH v1 0/3] bbdev: new k0 parameter

2024-07-01 Thread Nicolas Chautru
. When that parameter is set, then it is used a k0 value (starting position in circular index), if null the legacy computation from rv index (more common) is maintained. Nicolas Chautru (3): bbdev: new k0 parameter for LDPC decoder operation test/bbdev: add support for k0 parameter baseband/acc

[PATCH v1 1/1] bbdev: add missing symbols in version map

2024-06-25 Thread Nicolas Chautru
A few functions were somehow missing for the last few years in the version map file. Signed-off-by: Nicolas Chautru --- lib/bbdev/version.map | 4 1 file changed, 4 insertions(+) diff --git a/lib/bbdev/version.map b/lib/bbdev/version.map index 1840d2b2a4..9d6dac3cca 100644 --- a/lib/bbdev

[PATCH v1 0/1] bbdev: adding missing symbols in version map

2024-06-25 Thread Nicolas Chautru
. Let me know if you prefer to add them back under experimental section first. Unsure how we missed them at the time but good to correct now in coming release. Thanks Nic Nicolas Chautru (1): bbdev: add missing symbols in version map lib/bbdev/version.map | 4 1 file changed, 4 insertions

[PATCH v1 2/3] baseband/acc: refactor queue status update

2024-04-04 Thread Nicolas Chautru
Introducing common function for queue stats update within the acc PMDs. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 18 drivers/baseband/acc/rte_acc100_pmd.c | 45 ++-- drivers/baseband/acc/rte_vrb_pmd.c| 61

[PATCH v1 3/3] test/bbdev: update for queue stats

2024-04-04 Thread Nicolas Chautru
Update to include in test application the queue stats for the enqueue_depth_avail counter. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index dcce00aa0a

[PATCH v1 0/3] Additional queue stats

2024-04-04 Thread Nicolas Chautru
updated. Thanks Nic Nicolas Chautru (3): bbdev: new queue stat for available enqueue depth baseband/acc: refactor queue status update test/bbdev: update for queue stats app/test-bbdev/test_bbdev_perf.c | 1 + drivers/baseband/acc/acc_common.h | 18 drivers/baseband/acc

[PATCH v1 1/3] bbdev: new queue stat for available enqueue depth

2024-04-04 Thread Nicolas Chautru
Capturing additional queue stats counter for the depth of enqueue batch still available on the given queue. This can help application to monitor that depth at run time. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bbdev

[PATCH v1 1/1] baseband/acc: refactor of DMA response

2024-01-10 Thread Nicolas Chautru
Using common code for the status update during dequeue operation in the VRB PMD. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 139 + 1 file changed, 40 insertions(+), 99 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b

[PATCH v1 0/1] baseband/acc: refactor of DMA response

2024-01-10 Thread Nicolas Chautru
Based on previous discussion last year with Maxime, refactoring a bit the VRB PMD response as multiple functions have very similar code when updating status based on DMA response. Nicolas Chautru (1): baseband/acc: refactor of DMA response drivers/baseband/acc/rte_vrb_pmd.c | 139

[PATCH v1 0/1] baseband/acc: fix for VRB1 PMD

2023-11-03 Thread Nicolas Chautru
Fix bug for the VRB1 PMD in LDPC Encoder TB mode. Targeting the rc3 if possible. Nicolas Chautru (1): baseband/acc: fix for TB mode on VRB1 drivers/baseband/acc/rte_vrb_pmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.34.1

[PATCH v1 1/1] baseband/acc: fix for TB mode on VRB1

2023-11-03 Thread Nicolas Chautru
The input size is computed incorrectly for the LDPC encoder TB processing. Fixes: e640f6cdfa84 ("baseband/acc200: add LDPC processing") Cc: sta...@dpdk.org Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v3 10/10] test/bbdev: update python script parameters

2023-11-03 Thread Nicolas Chautru
. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test-bbdev.py | 26 +++--- app/test-bbdev/test_bbdev_perf.c | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py index 02c678a360..463de9ce05

[PATCH v3 08/10] test/bbdev: support new FFT capabilities

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Adding support to test new FFT capabilities. Optional frequency domain dewindowing, frequency resampling, timing error correction and time offset per CS. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 26 ++--- ap

[PATCH v3 09/10] test/bbdev: support 4 bit LLR compression

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Add support to test LDPC UL operation for new capability. Option to compress HARQ memory to 4 bits per LLR. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 3 ++- app/test-bbdev/test_bbdev_vector.c | 2 ++ 2 files changed,

[PATCH v3 07/10] test/bbdev: add MLD support

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Adding test-bbdev support for the MLD-TS processing specific to the VRB2 variant. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 519 + app/test-bbdev/test_bbdev_vector.c | 132 app/te

[PATCH v3 06/10] test/bbdev: ldpc encoder concatenation vector

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Add support for LDPC encoder concatenation configuration from the test vector. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_vector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_

[PATCH v3 05/10] test/bbdev: assert failed test for queue configure

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Stop test if rte_bbdev_queue_configure fails to configure queue. Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev.c | 3 ++- 1 file changed, 2

[PATCH v3 04/10] test/bbdev: improve test log messages

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Add a print message for failure to retrieve stats on bbdev. Add vector name in logs. Remove unnecessary prints. Update code comments and cosmetic changes. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/main.c|

[PATCH v3 03/10] test/bbdev: handle exception for LLR generation

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas Add range limit to prevent LLR generation greater than the data buffer size. Fixes: 7831a9684356 ("test/bbdev: support BLER for 4G") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[PATCH v3 02/10] test/bbdev: rename macros from acc200 to vrb

2023-11-03 Thread Nicolas Chautru
Renaming ACC200 macros to use generic intel vRAN Boost (VRB). No functional impact. Fixes: 69a9d9e139d2 ("baseband/acc: rename files from acc200 to vrb") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_p

[PATCH v3 01/10] test/bbdev: fix python script subprocess

2023-11-03 Thread Nicolas Chautru
From: Hernan Vargas test-bbdev.py relying on non-recommended subprocess Popen. This can lead to instabilities where the process cannot be stopped with a sig TERM. Use subprocess run with proper timeout argument. Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Cc: sta...@dpd

[PATCH v3 00/10] test-bbdev changes for 23.11

2023-11-03 Thread Nicolas Chautru
encoder concatenation vector test/bbdev: add MLD support test/bbdev: support new FFT capabilities test/bbdev: support 4 bit LLR compression Nicolas Chautru (2): test/bbdev: rename macros from acc200 to vrb test/bbdev: update python script parameters app/test-bbdev/main.c | 3

[PATCH v2 09/10] test/bbdev: support new FFT capabilities

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Adding support to test new FFT capabilities. Optional frequency domain dewindowing, frequency resampling, timing error correction and time offset per CS. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 26 ++--- ap

[PATCH v2 10/10] test/bbdev: support 4 bit LLR compression

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Add support to test LDPC UL operation for new capability. Option to compress HARQ memory to 4 bits per LLR. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 3 ++- app/test-bbdev/test_bbdev_vector.c | 2 ++ 2 files changed,

[PATCH v2 08/10] test/bbdev: add MLD support

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Adding test-bbdev support for the MLD-TS processing specific to the VRB2 variant. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 519 + app/test-bbdev/test_bbdev_vector.c | 132 app/te

[PATCH v2 07/10] test/bbdev: ldpc encoder concatenation vector

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Add support for LDPC encoder concatenation configuration from the test vector. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_vector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_

[PATCH v2 05/10] test/bbdev: improve test log messages

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Add a print message for failure to retrieve stats on bbdev. Add vector name in logs. Remove unnecessary prints. Update code comments and cosmetic changes. No functional impact. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/main.c|

[PATCH v2 06/10] test/bbdev: assert failed test for queue configure

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Stop test if rte_bbdev_queue_configure fails to configure queue. Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev.c | 3 ++- 1 file changed, 2

[PATCH v2 04/10] test/bbdev: handle exception for LLR generation

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Add range limit to prevent LLR generation greater than the data buffer size. Fixes: 7831a9684356 ("test/bbdev: support BLER for 4G") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 6 ++ 1 file changed, 6 insertions(+) diff --gi

[PATCH v2 03/10] test/bbdev: rename macros from acc200 to vrb

2023-10-27 Thread Nicolas Chautru
Renaming ACC200 macros to use generic intel vRAN Boost (VRB). No functional impact. Fixes: 69a9d9e139d2 ("baseband/acc: rename files from acc200 to vrb") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_p

[PATCH v2 02/10] test/bbdev: update python script parameters

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas Update the timeout argument and default values. Update EAL help message and default value. Add iter_max and snr arguments. Signed-off-by: Hernan Vargas --- app/test-bbdev/test-bbdev.py | 22 ++ app/test-bbdev/test_bbdev_perf.c | 2 +- 2 files change

[PATCH v2 01/10] test/bbdev: fix python script subprocess

2023-10-27 Thread Nicolas Chautru
From: Hernan Vargas test-bbdev.py relying on non-recommended subprocess Popen. This can lead to instabilities where the process cannot be stopped with a sig TERM. Use subprocess run with proper timeout argument. Fixes: f714a18885a6 ("app/testbbdev: add test application for bbdev") Cc: sta...@dpd

[PATCH v2 00/10] test-bbdev changes for 23.11

2023-10-27 Thread Nicolas Chautru
/bbdev: assert failed test for queue configure test/bbdev: ldpc encoder concatenation vector test/bbdev: add MLD support test/bbdev: support new FFT capabilities test/bbdev: support 4 bit LLR compression Nicolas Chautru (1): test/bbdev: rename macros from acc200 to vrb app/test-bbdev

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

2023-10-27 Thread Nicolas Chautru
the user. Signed-off-by: Hernan Vargas Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/meson.build | 21 ++ drivers/baseband/acc/rte_acc100_pmd.c | 59 +-- 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc

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

2023-10-27 Thread Nicolas Chautru
From: 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 deletion

[PATCH v3 0/2] FlexRAN SDK update for 23.11

2023-10-27 Thread Nicolas Chautru
v3: rebase typo fixed. v2: rebase typo fixed. Upstreaming SDK workaround for ACC100 and updating documentation for new SDK release. Hernan Vargas (2): baseband/acc: support ACC100 deRM corner case SDK doc: update FlexRAN SDK links doc/guides/bbdevs/turbo_sw.rst| 53 +-

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

2023-10-27 Thread Nicolas Chautru
the user. Signed-off-by: Hernan Vargas Signed-off-by: Nicolas Chautru --- 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

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

2023-10-27 Thread Nicolas Chautru
From: 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 deletion

[PATCH v2 0/2] doc: update FlexRAN SDK links

2023-10-27 Thread Nicolas Chautru
v2: rebase typo fixed. Upstreaming SDK workaround for ACC100 and updating documentation for new SDK release. Hernan Vargas (2): baseband/acc: support ACC100 deRM corner case SDK doc: update FlexRAN SDK links doc/guides/bbdevs/turbo_sw.rst| 53 +--- drivers/baseba

[PATCH v2 0/2] doc/guides: bbdev clean up

2023-10-13 Thread Nicolas Chautru
different implementation variants. Also use code snippet to refer to info structure and keep the doc in sync moving forward. Nicolas Chautru (2): doc: bbdev device discovery clarification doc/guides: refer to generic bbdev test section doc/guides/bbdevs/acc100.rst| 33

[PATCH v2 2/2] doc/guides: refer to generic bbdev test section

2023-10-13 Thread Nicolas Chautru
Avoiding duplication among each PMD doc, now referring directly to the relevant details section. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/acc100.rst| 33 +++- doc/guides/bbdevs/fpga_5gnr_fec.rst | 39 +++- doc/guides/bbdevs

[PATCH v2 1/2] doc: bbdev device discovery clarification

2023-10-13 Thread Nicolas Chautru
Adding more context and information related the data exposed through device discovery notably for FEC and FFT operations. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide/bbdev.rst | 60 - lib/bbdev/rte_bbdev.h | 6 2 files changed, 57

[PATCH v1 1/1] doc: bbdev device discovery clarification

2023-10-10 Thread Nicolas Chautru
Adding more context and information related the data exposed through device discovery notably for FEC and FFT operations. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide/bbdev.rst | 60 - lib/bbdev/rte_bbdev.h | 6 2 files changed, 57

[PATCH v1 0/1] doc: bbdev device discovery clarification

2023-10-10 Thread Nicolas Chautru
keep the doc in sync moving forward. This is on top of this serie https://patches.dpdk.org/project/dpdk/list/?series=29744 Nicolas Chautru (1): doc: bbdev device discovery clarification doc/guides/prog_guide/bbdev.rst | 60 - lib/bbdev/rte_bbdev.h | 6

[PATCH v6 12/12] baseband/acc: add configure helper for VRB2

2023-10-10 Thread Nicolas Chautru
This allows to configure the VRB2 device using a companion configuration function within the DPDK bbdev-test environment. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc100_pmd.h | 2 + drivers/baseband/acc/rte_acc100_pmd.c | 6 +- drivers

[PATCH v6 11/12] baseband/acc: add support for VRB2 engine error detection

2023-10-10 Thread Nicolas Chautru
Adding missing incremental functionality for the VRB2 variant. Notably detection of engine error during the dequeue. Minor cosmetic edits. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 19 --- drivers/baseband/acc

[PATCH v6 10/12] baseband/acc: add MLD support in VRB2 variant

2023-10-10 Thread Nicolas Chautru
Adding the capability for the MLD-TS processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 374 + 1 file changed, 374 insertions(+) diff --git a/drivers/baseband/acc

[PATCH v6 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-10 Thread Nicolas Chautru
Support for the FFT the processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 146 +++-- 1 file changed, 119 insertions(+), 27 deletions(-) diff --git a/drivers/baseband/acc

[PATCH v6 08/12] baseband/acc: add FEC capabilities for the VRB2 variant

2023-10-10 Thread Nicolas Chautru
New implementation for some of the FEC features specific to the VRB2 variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 370 + 1 file changed, 328 insertions(+), 42 deletions(-) diff --git a/drivers

[PATCH v6 07/12] baseband/acc: adding VRB2 device variant

2023-10-10 Thread Nicolas Chautru
No functionality exposed only device enumeration and configuration. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/features/vrb2.ini| 14 ++ doc/guides/bbdevs/index.rst| 1 + doc/guides/bbdevs/vrb2.rst | 206

[PATCH v6 06/12] baseband/acc: refactor to allow unified driver extension

2023-10-10 Thread Nicolas Chautru
Adding a few functions and common code prior to extending the VRB driver. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 175 ++--- drivers/baseband/acc/rte_vrb_pmd.c | 58 +- 2 files changed, 190 insertions

[PATCH v6 05/12] baseband/acc: add support for MLD operation

2023-10-10 Thread Nicolas Chautru
There is no functionality related to the MLD operation but allows the unified PMD to support the operation being added moving forward. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_vrb_pmd.c | 39

[PATCH v6 04/12] baseband/acc: allocate FCW memory separately

2023-10-10 Thread Nicolas Chautru
This allows more flexibility to the FCW size for the unified driver. No actual functional change. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 4 +++- drivers/baseband/acc/rte_vrb_pmd.c | 25 - 2 files changed, 27

[PATCH v6 03/12] baseband/acc: remove the 4G SO capability for VRB1

2023-10-10 Thread Nicolas Chautru
output is not impacting the actual decoder hard output. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/vrb1.rst | 4 drivers/baseband/acc/rte_vrb_pmd.c | 10 ++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/doc/guides/bbdevs

[PATCH v6 02/12] baseband/acc: add FFT window width in the VRB PMD

2023-10-10 Thread Nicolas Chautru
This allows to expose the FFT window width being introduced in previous commit based on what is configured dynamically on the device platform. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 5 drivers/baseband/acc/rte_vrb_pmd.c | 41

[PATCH v6 01/12] bbdev: add FFT window width member in driver info

2023-10-10 Thread Nicolas Chautru
related to what has been dynamically programmed on any bbdev device supporting FFT windowing operation. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- lib/bbdev/rte_bbdev.h| 2 ++ lib/bbdev/rte_bbdev_op.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/bbdev

[PATCH v6 00/12] VRB2 bbdev PMD introduction

2023-10-10 Thread Nicolas Chautru
GNR-D. This also include minor change to the dev_info to expose FFT version flexibility to expose information to the application on what windows LUT is configured dynamically on the device. Nicolas Chautru (12): bbdev: add FFT window width member in driver info baseband/acc: add FFT window wid

[PATCH v5 12/12] baseband/acc: add configure helper for VRB2

2023-10-05 Thread Nicolas Chautru
This allows to configure the VRB2 device using a companion configuration function within the DPDK bbdev-test environment. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc100_pmd.h | 2 + drivers/baseband/acc/rte_acc100_pmd.c | 6 +- drivers

[PATCH v5 11/12] baseband/acc: add support for VRB2 engine error detection

2023-10-05 Thread Nicolas Chautru
Adding missing incremental functionality for the VRB2 variant. Notably detection of engine error during the dequeue. Minor cosmetic edits. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 19 --- drivers/baseband/acc

[PATCH v5 10/12] baseband/acc: add MLD support in VRB2 variant

2023-10-05 Thread Nicolas Chautru
Adding the capability for the MLD-TS processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 374 + 1 file changed, 374 insertions(+) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc

[PATCH v5 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-05 Thread Nicolas Chautru
Support for the FFT the processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 146 +++-- 1 file changed, 119 insertions(+), 27 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc

[PATCH v5 08/12] baseband/acc: add FEC capabilities for the VRB2 variant

2023-10-05 Thread Nicolas Chautru
New implementation for some of the FEC features specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 370 + 1 file changed, 328 insertions(+), 42 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers

[PATCH v5 07/12] baseband/acc: adding VRB2 device variant

2023-10-05 Thread Nicolas Chautru
No functionality exposed only device enumeration and configuration. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/features/vrb2.ini| 14 ++ doc/guides/bbdevs/index.rst| 1 + doc/guides/bbdevs/vrb2.rst | 206

[PATCH v5 06/12] baseband/acc: refactor to allow unified driver extension

2023-10-05 Thread Nicolas Chautru
Adding a few functions and common code prior to extending the VRB driver. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 175 ++--- drivers/baseband/acc/rte_vrb_pmd.c | 58 +- 2 files changed, 190 insertions(+), 43 deletions(-) diff

[PATCH v5 05/12] baseband/acc: add support for MLD operation

2023-10-05 Thread Nicolas Chautru
There is no functionality related to the MLD operation but allows the unified PMD to support the operation being added moving forward. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_vrb_pmd.c | 39

[PATCH v5 04/12] baseband/acc: allocate FCW memory separately

2023-10-05 Thread Nicolas Chautru
This allows more flexibility to the FCW size for the unified driver. No actual functional change. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 4 +++- drivers/baseband/acc/rte_vrb_pmd.c | 25 - 2 files changed, 27

[PATCH v5 02/12] baseband/acc: add FFT window width in the VRB PMD

2023-10-05 Thread Nicolas Chautru
This allows to expose the FFT window width being introduced in previous commit based on what is configured dynamically on the device platform. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 6 + drivers/baseband/acc/rte_vrb_pmd.c | 41

  1   2   3   4   5   6   7   8   9   10   >