Skip to content

Commit b9ae240

Browse files
author
codebot
committed
Update main
# Conflicts: # apps/gnb/adapters/f1c_gateway_local_connector.cpp # apps/gnb/adapters/f1c_gateway_local_connector.h # apps/gnb/adapters/f1c_gateway_remote_connector.cpp # apps/gnb/adapters/f1c_gateway_remote_connector.h # include/srsran/du/du_config.h # include/srsran/f1u/local_connector/f1u_local_bearer_adapter.h # lib/cu_cp/cu_cp_controller/cu_cp_controller_factory.cpp # lib/cu_cp/cu_cp_controller/cu_cp_controller_factory.h # lib/du/du_factory.cpp # lib/du/du_impl.cpp # lib/du/du_impl.h # lib/du/du_low_impl.h # tests/unittests/phy/upper/channel_processors/pdsch_processor_test_data.tar.gz # tests/unittests/phy/upper/channel_processors/pusch/pusch_processor_test_data.tar.gz # tests/unittests/phy/upper/signal_processors/port_channel_estimator_test_data.tar.gz # tests/unittests/rlc/rlc_test_helpers.h
2 parents f3ed07a + 729283e commit b9ae240

File tree

795 files changed

+18119
-8198
lines changed

Some content is hidden

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

795 files changed

+18119
-8198
lines changed

.gitlab/ci/build.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -553,13 +553,11 @@ smoke dpdk cached:
553553
- lib/phy/**/*
554554
- tests/unittests/phy/**/*
555555

556-
smoke avx512 cached:
556+
smoke avx512:
557557
extends: .smoke avx512
558558
stage: manual
559559
timeout: 45 min
560560
rules:
561-
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
562-
when: never
563561
- if: $ON_MR == "true" && $CI_MERGE_REQUEST_APPROVED == "true"
564562
changes:
565563
<<: *instruction_set_changes
@@ -568,9 +566,6 @@ smoke avx512 cached:
568566
<<: *instruction_set_changes
569567
when: manual
570568
allow_failure: false
571-
cache:
572-
- !reference [.fetch_src_cache, cache]
573-
- *cache_build_get
574569

575570
smoke arm cached:
576571
extends: .smoke arm
@@ -637,13 +632,6 @@ smoke dpdk clean:
637632
rules:
638633
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
639634

640-
smoke avx512 clean:
641-
extends: .smoke avx512
642-
rules:
643-
- if: $CI_MERGE_REQUEST_LABELS =~ /no-cache/
644-
changes:
645-
<<: *instruction_set_changes
646-
647635
smoke arm clean:
648636
extends: .smoke arm
649637
rules:
@@ -838,18 +826,6 @@ smoke valgrind update cache:
838826
<<: *build_artifacts
839827
expire_in: 3 day
840828

841-
smoke avx512 update cache:
842-
extends: .smoke avx512
843-
rules:
844-
- if: $CI_DESCRIPTION =~ /Nightly Build Unit Tests/
845-
when: delayed
846-
start_in: 30 minutes
847-
retry: 2
848-
interruptible: false
849-
cache:
850-
- !reference [.fetch_src_cache, cache]
851-
- *cache_build_set
852-
853829
smoke arm update cache:
854830
extends: .smoke arm
855831
rules:
@@ -1297,7 +1273,7 @@ debian 11 amd64 avx512:
12971273
SANITIZER: tsan
12981274
COMPILER: [gcc, clang]
12991275
ENABLE_TSAN: "True"
1300-
TEST_MODE: tsan
1276+
TEST_MODE: default
13011277
- OS: [ubuntu-22.04, ubuntu-20.04]
13021278
SANITIZER: asan
13031279
COMPILER: [gcc, clang]
@@ -1338,7 +1314,7 @@ sanitizers amd64 avx512:
13381314
SANITIZER: tsan
13391315
COMPILER: [gcc, clang]
13401316
ENABLE_TSAN: "True"
1341-
TEST_MODE: tsan
1317+
TEST_MODE: default
13421318
- OS: [ubuntu-22.04, ubuntu-20.04]
13431319
SANITIZER: asan
13441320
COMPILER: [gcc, clang]

.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.48.14
3+
RETINA_VERSION=0.49.3
44
UBUNTU_VERSION=24.04
55
AMARISOFT_VERSION=2023-09-08
66
SRSUE_VERSION=23.11

.gitlab/configuration.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"allow_force_push": false,
6464
"allowed_to_merge": [
6565
{
66+
"id": 112801326,
6667
"access_level": 30,
6768
"access_level_description": "Developers + Maintainers",
6869
"group_id": null,
@@ -71,10 +72,12 @@
7172
],
7273
"allowed_to_push": [
7374
{
75+
"id": 125247413,
7476
"access_level": 0,
7577
"access_level_description": "No one",
7678
"group_id": null,
77-
"user_id": null
79+
"user_id": null,
80+
"deploy_key_id": null
7881
}
7982
],
8083
"code_owner_approval_required": false,
@@ -84,6 +87,7 @@
8487
"allow_force_push": false,
8588
"allowed_to_merge": [
8689
{
90+
"id": 112801343,
8791
"access_level": 0,
8892
"access_level_description": "No one",
8993
"group_id": null,
@@ -92,10 +96,12 @@
9296
],
9397
"allowed_to_push": [
9498
{
99+
"id": 125247430,
95100
"access_level": 40,
96101
"access_level_description": "$CODEBOT_USERNAME",
97102
"group_id": null,
98-
"user_id": $CODEBOT_USER_ID
103+
"user_id": $CODEBOT_USER_ID,
104+
"deploy_key_id": null
99105
}
100106
],
101107
"code_owner_approval_required": false,
@@ -105,6 +111,7 @@
105111
"allow_force_push": false,
106112
"allowed_to_merge": [
107113
{
114+
"id": 112801340,
108115
"access_level": 40,
109116
"access_level_description": "Maintainers",
110117
"group_id": null,
@@ -113,10 +120,12 @@
113120
],
114121
"allowed_to_push": [
115122
{
123+
"id": 125247427,
116124
"access_level": 40,
117125
"access_level_description": "Maintainers",
118126
"group_id": null,
119-
"user_id": null
127+
"user_id": null,
128+
"deploy_key_id": null
120129
}
121130
],
122131
"code_owner_approval_required": false,
@@ -131,7 +140,8 @@
131140
"access_level": 40,
132141
"access_level_description": "Maintainers",
133142
"group_id": null,
134-
"user_id": null
143+
"user_id": null,
144+
"deploy_key_id": null
135145
}
136146
]
137147
}

apps/examples/du/phy_factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ std::unique_ptr<upper_phy> srsran::create_upper_phy(const upper_phy_params&
9595
upper_config.rx_buffer_config.expire_timeout_slots = 100 * nof_slots_per_subframe;
9696
upper_config.rx_buffer_config.external_soft_bits = false;
9797

98-
upper_config.dl_executors = dl_executors;
98+
upper_config.dl_executors = std::vector<task_executor*>(dl_executors.begin(), dl_executors.end());
9999
upper_config.rg_gateway = rg_gateway;
100100
upper_config.pucch_executor = ul_executor;
101101
upper_config.pusch_executor = ul_executor;

apps/gnb/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ add_executable(gnb
2424
gnb_appconfig_validators.cpp
2525
gnb_appconfig_translators.cpp
2626
adapters/e1ap_gateway_local_connector.cpp
27-
adapters/f1c_gateway_local_connector.cpp
28-
adapters/f1c_gateway_remote_connector.cpp
2927
adapters/e2_gateway_remote_connector.cpp
3028
adapters/ngap_adapter.cpp
3129
)
@@ -36,7 +34,6 @@ install(TARGETS gnb
3634
target_link_libraries(gnb
3735
srsran_app_services
3836
srsgnb_app_f1u_connector
39-
srsran_cu_up
4037
srsran_cu_cp
4138
srsran_network
4239
srsran_ngap
@@ -49,6 +46,7 @@ target_link_libraries(gnb
4946
srsran_version
5047
srsran_build_info
5148
srsran_flexible_du_ru_dynamic
49+
srsran_f1c_gateway
5250
srsran_cu_cp_app_unit
5351
srsran_cu_up_app_unit
5452
)

apps/gnb/adapters/e2_gateway_remote_connector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
namespace srsran {
3030

31-
e2_gateway_remote_connector::e2_gateway_remote_connector(io_broker& broker_,
32-
sctp_network_gateway_config& net_gw_config_,
33-
dlt_pcap& e2ap_pcap_writer_) :
31+
e2_gateway_remote_connector::e2_gateway_remote_connector(io_broker& broker_,
32+
sctp_network_connector_config& net_gw_config_,
33+
dlt_pcap& e2ap_pcap_writer_) :
3434
logger(srslog::fetch_basic_logger("E2AP")),
3535
broker(broker_),
3636
net_gw_config(net_gw_config_),

apps/gnb/adapters/e2_gateway_remote_connector.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ class dlt_pcap;
3434
class e2_gateway_remote_connector final : public e2_connection_client
3535
{
3636
public:
37-
explicit e2_gateway_remote_connector(io_broker& broker_,
38-
sctp_network_gateway_config& net_gw_config_,
39-
dlt_pcap& e2ap_pcap_writer_);
37+
explicit e2_gateway_remote_connector(io_broker& broker_,
38+
sctp_network_connector_config& net_gw_config_,
39+
dlt_pcap& e2ap_pcap_writer_);
4040

4141
// E2 Agent interface.
4242
std::unique_ptr<e2_message_notifier> handle_connection_request() override;
@@ -50,7 +50,7 @@ class e2_gateway_remote_connector final : public e2_connection_client
5050
private:
5151
srslog::basic_logger& logger;
5252
io_broker& broker;
53-
sctp_network_gateway_config& net_gw_config;
53+
sctp_network_connector_config& net_gw_config;
5454
dlt_pcap& e2ap_pcap_writer;
5555
std::vector<e2_message_notifier*> e2ap_notifiers;
5656
};

apps/gnb/adapters/e2ap_adapter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class e2ap_network_adapter : public e2_message_notifier,
7878
///
7979
/// In case the gateway was configured to listen on port 0, i.e. the operating system shall pick a random free port,
8080
/// this function can be used to get the actual port number.
81-
optional<uint16_t> get_listen_port()
81+
std::optional<uint16_t> get_listen_port()
8282
{
8383
if (gateway == nullptr) {
8484
return {};

apps/gnb/adapters/f1c_gateway_local_connector.cpp

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)