Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
11da71ba
Commit
11da71ba
authored
Jan 09, 2024
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify DPDK lib location and T2 PCI adr for CI T2 test setup
parent
513f060f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
+1
-1
No files found.
CMakeLists.txt
View file @
11da71ba
...
...
@@ -498,7 +498,7 @@ target_link_libraries(shlib_loader PRIVATE CONFIG_LIB)
##########################################################
add_boolean_option
(
ENABLE_LDPC_T2 OFF
"Build support for LDPC Offload to T2 library"
OFF
)
set
(
ENV{PKG_CONFIG_PATH}
"$ENV{PKG_CONFIG_PATH}:/usr/local/lib
/x86_64-linux-gnu
/pkgconfig"
)
set
(
ENV{PKG_CONFIG_PATH}
"$ENV{PKG_CONFIG_PATH}:/usr/local/lib
64
/pkgconfig"
)
if
(
ENABLE_LDPC_T2
)
pkg_check_modules
(
LIBDPDK_T2 REQUIRED libdpdk=20.11.9
)
find_library
(
PMD_T2 NAMES rte_baseband_accl_ldpc HINTS
${
LIBDPDK_T2_LIBRARY_DIRS
}
)
...
...
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
View file @
11da71ba
...
...
@@ -941,7 +941,7 @@ int32_t LDPCinit()
int
dev_id
=
0
;
struct
rte_bbdev_info
info
;
struct
active_device
*
ad
=
active_devs
;
char
*
dpdk_dev
=
"
41
:00.0"
;
//PCI address of the card
char
*
dpdk_dev
=
"
d8
:00.0"
;
//PCI address of the card
char
*
argv_re
[]
=
{
"bbdev"
,
"-a"
,
dpdk_dev
,
"-l"
,
"14-15"
,
"--file-prefix=b6"
,
"--"
};
// EAL initialization, if already initialized (init in xran lib) try to probe DPDK device
ret
=
rte_eal_init
(
5
,
argv_re
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment