Jaroslava Fiedlerova
432fee1a6e
Configure T2 EAL Parameters via Command Line
...
- Introduced command line and configuration options to set up PCI address, CPU cores used by DPDK, and DPDK file prefix for T2 offload.
- Made the dpdk_dev parameter (for setting the PCI address of the T2) mandatory.
- Configure dpdk_dev in the CI test cases.
2024-06-27 14:53:17 +02:00
Jaroslava Fiedlerova
fe0d70e8f3
Replace bbdev TEST_ASSERTs by OAI macro AssertFatal()
...
- Replaced bbdev TEST_ASSERTs with the OAI macro AssertFatal() to harmonize error handling.
- Removed unused functions and macros from nrLDPC_offload.h.
2024-06-27 14:47:32 +02:00
Jaroslava Fiedlerova
6bec8779c6
Enhance T2 Offload for gNB and UE
...
- Reworked nrLDPC_decoder_offload.c to process all segments in a TB with a single call to LDPCdecoder() or LDPCencoder().
- Perform CRC checks on the T2.
- Modified nr_ulsch_decoding (gNB decoder) to:
- Count processed segments.
- Properly perform CRC checks.
- Created a constant NR_LDPC_MAX_NUM_CB to define the maximum number of codeblocks.
- Conditional library loading:
- On gNB: Load ldpc_t2 library if offload is enabled using the --ldpc-offload-enable flag.
- On UE: Load both ldpc_t2 and ldpc libraries since only encoder offload is supported.
- General cleanup of nrLDPC_decoder_offload.c for improved readability and maintainability.
- Modified the structure of LDPC encoder/decoder/offload parameters:
- Introduced a structure for code block (CB) related parameters.
- Removed parameter E from the encoder and offload parameter structures for clarity.
- Replaced E with perCB->E_cb in the UE encoder code.
2024-06-27 14:40:41 +02:00
Jaroslava Fiedlerova
87242ca92a
Merge remote-tracking branch 'origin/fix_cppcheck' into integration_2024_w15
2024-04-12 09:18:07 +02:00
Jaroslava Fiedlerova
3c3c1e6fe6
T2 related modifications of CMakeLists and documentation
...
- Modify T2 PCI adr for CI T2 test setup
- Set PKG_CONFIG_PATH env var manually if needed (DPDK lib installed into custom path)
2024-04-11 15:34:43 +02:00
francescomani
9cc53a43b1
invalidPrintfArgType_uint
2024-04-09 16:44:56 +02:00
Jaroslava Fiedlerova
b166286a78
Use clang format
2024-01-25 17:21:32 +01:00
Jaroslava Fiedlerova
bec8ebc311
Perform interleaving on the T2 card
...
- UE and gNB encoder modification
- update T2 related doc
2024-01-25 17:21:32 +01:00
Jaroslava Fiedlerova
aa9cd6394a
T2: Enable LDPC encoding offload for all MCS
...
- Rate matching performed by card
- Due to rate matching on card, small TBs are encoded correctly, so the
limitation of encoding small TBs in CPU can be lifted (all TBs encoded
on T2), see a later commits
2024-01-25 17:21:11 +01:00
Jaroslava Fiedlerova
c66b09c8a3
T2: Fix buffer overflow and HARQ codeblock ID out of range
...
- set size of buffers to max E
- change HARQ codeblock offset calculation for T2
- add constant for maximum code block size - max E
2023-12-21 11:19:13 +01:00
Jaroslava Fiedlerova
7c5b945766
Set RTE_BBDEV_LDPC_HQ_COMBINE_IN_ENABLE based on harq_to_be_cleared value
2023-11-28 09:37:37 +01:00
Jaroslava Fiedlerova
cf97acb8c7
Add T2 LDPC encoding/decoding offload
2023-11-28 09:37:37 +01:00
Jaroslava Fiedlerova
e945b260f8
Remove T1 decoding offload
2023-11-28 09:37:37 +01:00
Raphael Defosseux
80c2bc3fcb
fix(arm-build): immintrin.h is not available
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2023-10-20 11:36:39 +02:00
Vijay Chadachan
836469e849
CPPCHECK fixes for printf issues
...
Fix for following CPPCheck warnings
- invalidPrintfArgType
Rebased with latest develop branch w21.
Reverted modifications unrelated to printf issues.
2023-06-01 12:07:26 +02:00
Jaroslava Fiedlerova
79f8d16da6
Rename T1 offload lib and conditional compilation
2023-02-18 11:56:31 +01:00
Hongzhi Wang
e8fc4da2b6
update offload decoder license and notes
2022-06-22 17:26:30 +02:00
Hongzhi Wang
fb9be23057
adding bbdev license
2022-06-22 10:03:55 +02:00
Hongzhi Wang
5254d1d91d
update offload harq buffer offset
2022-03-09 16:15:01 +01:00
Hongzhi Wang
1d0a7b3860
removing some log prints
2022-03-09 16:13:52 +01:00
Hongzhi Wang
638b5f7f2a
adding ulsch id to offload harq buffer offset for multiple users
2022-03-09 16:13:17 +01:00
Hongzhi Wang
fe4e1bdb93
adding harq pid to harq buffer offset
2022-03-09 16:07:14 +01:00
Hongzhi Wang
02048ff3c4
using one l1tx thread and changing ul parameters for testing
2022-03-09 16:00:39 +01:00
Hongzhi Wang
1749595217
bug fixes and removing warnings
2022-03-09 15:30:54 +01:00
Hongzhi Wang
637ca97566
add ldpc offload cmdline option for softmodem and remove crc drop flag
2022-03-09 15:17:33 +01:00
Hongzhi Wang
1216eb2e4d
adding segment buffer offset and updates
2022-03-09 15:10:21 +01:00
Hongzhi Wang
8c09af6291
Split fill queue function and move mbuf allocation to init step
2022-03-09 15:01:14 +01:00
Florian Kaltenberger
bd2a27f6cc
some more error checks + data collection
2022-03-09 14:53:59 +01:00
Hongzhi Wang
8af206c644
adding allocation free function for offload
2022-03-09 14:39:03 +01:00
Florian Kaltenberger
2423996bba
adding some error checks
2022-03-09 14:38:41 +01:00
Hongzhi Wang
00ba6b6bb1
add offload on cmdline and bugfix
2022-03-09 14:38:25 +01:00
Hongzhi Wang
a96aeff279
adding post decoding for offload
2022-03-09 14:38:08 +01:00
Hongzhi Wang
1247a02f6d
Initializing the device in lib load function
2022-03-09 14:37:45 +01:00
Hongzhi Wang
7b88c36ba6
moving more init functions to device initialization
2022-03-09 14:37:27 +01:00
Hongzhi Wang
6532db1233
moving device init functions out from decoding
2022-03-09 14:36:56 +01:00
Hongzhi Wang
c739337e66
adding offload multiple segments
2022-03-09 14:36:01 +01:00
Hongzhi Wang
52450c449f
code cleanup ldpc offload
2022-03-09 14:35:40 +01:00
Hongzhi Wang
4238ff04c5
moving ldpc offload to ulsch decoding function
2022-03-09 14:35:16 +01:00
Hongzhi Wang
aed61728dc
removing hardcoded parameters
2022-03-09 14:34:31 +01:00
Hongzhi Wang
6639ad24fc
removing test vector config file
2022-03-09 14:34:06 +01:00
Hongzhi Wang
a8bee7ae21
Update ldpc offload decoder input and output
2022-03-09 14:32:49 +01:00
Hongzhi Wang
030aa253e8
adding temporarily bbdev testsuite in ldpc_decoder_offload to check t1 card connection
2022-03-09 14:32:26 +01:00
Hongzhi Wang
ec25a03fbb
adding dpdk library and ldpc offload library
2022-03-09 14:25:02 +01:00