Skip to content

Commit 61c1065

Browse files
author
codebot
committed
Update main
# Conflicts: # include/srsran/support/dynlink_manager.h # lib/support/dynlink_manager.cpp
2 parents e74f7f3 + 93c93e8 commit 61c1065

File tree

103 files changed

+1736
-1416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1736
-1416
lines changed

.gitlab/ci-shared/e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ variables:
7070
ARTIFACT_COMPRESSION_LEVEL: slowest
7171
RUNNER_AFTER_SCRIPT_TIMEOUT: 1m
7272
KUBERNETES_CPU_REQUEST: 1
73-
KUBERNETES_CPU_LIMIT: 1
73+
KUBERNETES_CPU_LIMIT: 2
7474
KUBERNETES_MEMORY_REQUEST: 2Gi
7575
KUBERNETES_MEMORY_LIMIT: 2Gi
76-
KUBERNETES_EPHEMERAL_STORAGE_REQUEST: "10G"
77-
KUBERNETES_EPHEMERAL_STORAGE_LIMIT: "10G"
76+
KUBERNETES_EPHEMERAL_STORAGE_REQUEST: "20G"
77+
KUBERNETES_EPHEMERAL_STORAGE_LIMIT: "20G"
7878
<<: *setup_kube_variables
7979
GROUP: zmq
8080
tags:

.gitlab/ci/e2e.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ amari 32UE 2x2 mimo:
268268

269269
cudu amari 8UE:
270270
extends: .zmq
271-
timeout: 1h
271+
timeout: 2h
272272
variables:
273273
TESTBED: zmq_cudu
274274
MARKERS: "zmq and not smoke"
@@ -279,7 +279,7 @@ cudu amari 8UE:
279279

280280
cudu amari 32UE:
281281
extends: .zmq
282-
timeout: 1h
282+
timeout: 2h
283283
variables:
284284
TESTBED: zmq_cudu
285285
MARKERS: "zmq and not smoke"
@@ -290,7 +290,7 @@ cudu amari 32UE:
290290

291291
cudu amari 64UE:
292292
extends: .zmq
293-
timeout: 2h
293+
timeout: 3h
294294
variables:
295295
TESTBED: zmq_cudu
296296
MARKERS: "zmq and not smoke"
@@ -473,7 +473,7 @@ android x300:
473473
artifacts: true
474474
- *retina-needs
475475

476-
android x300 drx:
476+
android drx:
477477
stage: rf
478478
extends: .e2e-run
479479
allow_failure: true

.gitlab/ci/e2e/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
22
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
3-
RETINA_VERSION=0.59.0
3+
RETINA_VERSION=0.59.2
44
UBUNTU_VERSION=24.04
55
AMARISOFT_VERSION=2023-09-08
66
SRSUE_VERSION=23.11

.gitlab/ci/e2e/retina_request_rf_b200.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
- name: amarisoft-ue
1010
type: ue
1111
image: ${RETINA_REGISTRY_PREFIX}/amarisoftue:${AMARISOFT_VERSION}_${RETINA_VERSION}
12-
labels: ["kubernetes.io/hostname=hp-oran"]
12+
labels: ["kubernetes.io/hostname=ci-buildmaster"]
1313
nof_ports: 4
1414
requirements:
1515
arch: amd64
1616
cpu:
1717
requests: 12
1818
limits: 12
1919
memory:
20-
requests: "48G"
21-
limits: "48G"
20+
requests: "20G"
21+
limits: "20G"
2222
ephemeral-storage:
2323
requests: "6G"
2424
limits: "6G"

.gitlab/run_viavi_pipeline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def run_test(args_definition: _ArgsDefinition, test_definition: _TestDefinition)
134134
{"key": "TEST_MODE", "value": TESTMODE},
135135
{"key": "BUILD_ARGS", "value": BUILD_ARGS},
136136
{"key": "MAKE_ARGS", "value": MAKE_ARGS},
137+
{"key": "SRS_TARGET", "value": "gnb_split_7_2"},
138+
{"key": "PLUGIN_BRANCH", "value": "main"},
137139
{"key": "UHD_VERSION", "value": ""},
138140
{"key": "DPDK_VERSION", "value": DPDK_VERSION},
139141
{"key": "TESTBED", "value": TESTBED},

apps/gnb/gnb.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
#include "srsran/support/backtrace.h"
5454
#include "srsran/support/config_parsers.h"
5555
#include "srsran/support/cpu_features.h"
56-
#include "srsran/support/dynlink_manager.h"
5756
#include "srsran/support/io/io_broker_factory.h"
5857
#include "srsran/support/signal_handling.h"
5958
#include "srsran/support/tracing/event_tracing.h"

apps/units/flexible_o_du/o_du_high/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ add_subdirectory(fapi)
2424

2525
add_library(srsran_o_du_high_unit_helpers STATIC o_du_high_unit_factory.cpp)
2626
target_include_directories(srsran_o_du_high_unit_helpers PRIVATE ${CMAKE_SOURCE_DIR})
27-
target_link_libraries(srsran_o_du_high_unit_helpers PRIVATE srsran_du_high_unit_helpers srsran_fapi_app_unit srsran_o_du_high_app_unit_e2)
27+
target_link_libraries(srsran_o_du_high_unit_helpers PRIVATE
28+
srsran_du_high_unit_helpers
29+
srsran_fapi_app_unit
30+
srsran_o_du_high_app_unit_e2
31+
srsran_o_du_high)

apps/units/flexible_o_du/o_du_low/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set(SOURCES
2828

2929
add_library(srsran_o_du_low_unit_helpers STATIC ${SOURCES})
3030
target_include_directories(srsran_o_du_low_unit_helpers PRIVATE ${CMAKE_SOURCE_DIR})
31-
set(DU_LOW_UNIT_HELPERS_LIBRARIES srsran_upper_phy srsran_cpu_affinities_helper)
31+
set(DU_LOW_UNIT_HELPERS_LIBRARIES srsran_upper_phy srsran_cpu_affinities_helper srsran_o_du_low)
3232

3333
# Hardware acceleration for both PUSCH and PDSCH is enabled by default when using DPDK.
3434
if (DPDK_FOUND)

apps/units/flexible_o_du/split_6/split6_o_du_impl.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
*/
2222

2323
#include "split6_o_du_impl.h"
24+
#include "srsran/fapi_adaptor/mac/mac_fapi_adaptor.h"
25+
#include "srsran/fapi_adaptor/mac/mac_fapi_sector_adaptor.h"
2426
#include "srsran/support/srsran_assert.h"
2527

2628
using namespace srsran;
@@ -32,15 +34,15 @@ split6_o_du_impl::split6_o_du_impl(std::vector<std::unique_ptr<fapi::fapi_adapto
3234
srsran_assert(odu_hi, "Invalid O-DU high");
3335
srsran_assert(adaptors.size(), "Invalid FAPI adaptor");
3436

35-
// Hardcoded 0 is because at this moment there is one DU instance with one cell per cell, so we can always access the
36-
// cell id 0 of the DU.
3737
for (unsigned i = 0, e = adaptors.size(); i != e; ++i) {
38+
fapi_adaptor::mac_fapi_sector_adaptor& fapi_sector = odu_hi->get_mac_fapi_adaptor().get_sector_adaptor(i);
39+
3840
adaptors[i]->get_message_interface_collection().set_slot_data_message_notifier(
39-
odu_hi->get_slot_data_message_notifier(i));
41+
fapi_sector.get_slot_data_message_notifier());
4042
adaptors[i]->get_message_interface_collection().set_slot_error_message_notifier(
41-
odu_hi->get_slot_error_message_notifier(i));
43+
fapi_sector.get_slot_error_message_notifier());
4244
adaptors[i]->get_message_interface_collection().set_slot_time_message_notifier(
43-
odu_hi->get_slot_time_message_notifier(i));
45+
fapi_sector.get_slot_time_message_notifier());
4446
}
4547
}
4648

apps/units/flexible_o_du/split_helpers/flexible_o_du_factory.cpp

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
#include "flexible_o_du_impl.h"
3131
#include "srsran/du/o_du_factory.h"
3232
#include "srsran/e2/e2_du_metrics_connector.h"
33+
#include "srsran/fapi_adaptor/mac/mac_fapi_adaptor.h"
34+
#include "srsran/fapi_adaptor/mac/mac_fapi_sector_adaptor.h"
35+
#include "srsran/fapi_adaptor/phy/phy_fapi_adaptor.h"
36+
#include "srsran/fapi_adaptor/phy/phy_fapi_sector_adaptor.h"
3337

3438
using namespace srsran;
3539

@@ -74,16 +78,29 @@ o_du_unit flexible_o_du_factory::create_flexible_o_du(const o_du_unit_dependenci
7478

7579
// Adjust the dependencies.
7680
for (unsigned i = 0, e = du_cells.size(); i != e; ++i) {
77-
auto& sector_dependencies = odu_hi_unit_dependencies.o_du_hi_dependencies.sectors.emplace_back();
78-
sector_dependencies.gateway = &odu_lo_unit.o_du_lo->get_slot_message_gateway(i);
79-
sector_dependencies.last_msg_notifier = &odu_lo_unit.o_du_lo->get_slot_last_message_notifier(i);
80-
sector_dependencies.fapi_executor = config.odu_high_cfg.fapi_cfg.l2_nof_slots_ahead != 0
81-
? std::optional(dependencies.workers->fapi_exec[i])
82-
: std::make_optional<task_executor*>();
81+
auto& sector_dependencies = odu_hi_unit_dependencies.o_du_hi_dependencies.sectors.emplace_back();
82+
sector_dependencies.gateway =
83+
&odu_lo_unit.o_du_lo->get_phy_fapi_adaptor().get_sector_adaptor(i).get_slot_message_gateway();
84+
sector_dependencies.last_msg_notifier =
85+
&odu_lo_unit.o_du_lo->get_phy_fapi_adaptor().get_sector_adaptor(i).get_slot_last_message_notifier();
86+
sector_dependencies.fapi_executor = config.odu_high_cfg.fapi_cfg.l2_nof_slots_ahead != 0
87+
? std::optional(dependencies.workers->fapi_exec[i])
88+
: std::make_optional<task_executor*>();
8389
}
8490

8591
o_du_high_unit odu_hi_unit = make_o_du_high_unit(config.odu_high_cfg, std::move(odu_hi_unit_dependencies));
8692

93+
// Connect the adaptors.
94+
for (unsigned i = 0, e = du_cells.size(); i != e; ++i) {
95+
fapi_adaptor::phy_fapi_sector_adaptor& odu_lo = odu_lo_unit.o_du_lo->get_phy_fapi_adaptor().get_sector_adaptor(i);
96+
fapi_adaptor::mac_fapi_sector_adaptor& odu_hi = odu_hi_unit.o_du_hi->get_mac_fapi_adaptor().get_sector_adaptor(i);
97+
98+
// Connect O-DU low with O-DU high.
99+
odu_lo.set_slot_time_message_notifier(odu_hi.get_slot_time_message_notifier());
100+
odu_lo.set_slot_error_message_notifier(odu_hi.get_slot_error_message_notifier());
101+
odu_lo.set_slot_data_message_notifier(odu_hi.get_slot_data_message_notifier());
102+
}
103+
87104
o_du.metrics = std::move(odu_hi_unit.metrics);
88105
o_du.commands = std::move(odu_hi_unit.commands);
89106

0 commit comments

Comments
 (0)