blob: a825f952a40a9e88955b24c261dea81bbed9c315 [file] [log] [blame]
Luis Farias2de97522022-03-17 20:01:53 -07001.. Copyright (c) 2019-2022 Intel
Luis Farias9d66fca2020-05-28 19:01:58 -07002..
3.. Licensed under the Apache License, Version 2.0 (the "License");
4.. you may not use this file except in compliance with the License.
5.. You may obtain a copy of the License at
6..
7.. http://www.apache.org/licenses/LICENSE-2.0
8..
9.. Unless required by applicable law or agreed to in writing, software
10.. distributed under the License is distributed on an "AS IS" BASIS,
11.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12.. See the License for the specific language governing permissions and
13.. limitations under the License.
14
15.. |br| raw:: html
16
17 <br />
18
19Wls Lib Installation Guide
20==========================
21
22The wls library uses DPDK as the basis for the shared memory operations and requires that DPDK
23be installed in the system since in the makefile it uses the RTE_SDK environment variable when
24building the library. |br|
Luis Farias76b44952022-04-01 16:10:08 -070025The current release was tested using DPDK version 20.11.1 but it doesn't preclude the
26use of newer releases. Since the L1 binaries are built with DPDK 20.11.1 the ODULOW as a whole
27does has the limitation to use only this version of DPDK.
Luis Farias9d66fca2020-05-28 19:01:58 -070028Also the library uses the Intel Compiler that is defined as part of the ODULOW documentation.
29
30Contents
31--------
32
33- Overview
34- Building and Installation
35- Command Line Parameters
36- Known Issues/Troubleshooting
37- License
38
39
40================================================================================
41
42Overview
43--------
44
45This document describes the wls DPDK base library for ODULOW to ODUHIGH
46communication as part of the |br|
47ORAN Reference Architecture where an intermediate
48shin layer can be present between these components.
49
50
51================================================================================
52
53
54Building and Installation
55-------------------------
56
57Retrieve the source files from the Linux Foundation Gerrit server:
58 `<https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=summary>`_
59
601. cd wls_lib
612. wls_lib$ ./build.sh xclean
623. wls_lib$ ./build.sh
63
64The shared library is available at wls_lib/lib
65
66This library is used by the ODUHIGH, shin layer implementing a 5G FAPI to IAPI translator and the
67ODULOW components.
68
69Please define an environment variable DIR_WIRELESS_WLS with the path to the root folder of
70the wls_lib as it is needed for the fapi_5g build process.
71
72Unit Test building and validation
73---------------------------------
74
75In order to build the unit test do the following steps:
76
771. cd test
782. ./build.sh xclean
793. ./build.sh
804. Create an SSH session into the target an change directory to wls_lib/bin/phy
815. issue ./phy.sh
826. Create a second SSH session into the target and change directory to wls_lib/bin/fapi
837. issue ./fapi.sh
848. Create a third SSH session into the target and change directory to wls_lib/bin/mac
859. issue ./mac.sh
86
87After the test run you should see that each module sent and receive 16 messages from
88the display status messages.
89
90================================================================================
91
92
93
94Known Issues/Troubleshooting
95----------------------------
96No known issues.
97For troubleshooting use unit test application.
98
99================================================================================
100
101License
102-------
103
104Please see License.txt at the root of the phy repository for license information details
105
106