Skip to content

Commit 3124ea3

Browse files
frankistcodebot
authored andcommitted
sched: change lack of harqs log from debug to warning
1 parent 57474ad commit 3124ea3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

lib/scheduler/policy/scheduler_time_rr.cpp

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ static bool alloc_dl_ue(const ue& u,
7070
const dl_harq_process* h = is_retx ? ue_cc.harqs.find_pending_dl_retx() : ue_cc.harqs.find_empty_dl_harq();
7171
if (h == nullptr) {
7272
if (not is_retx) {
73-
logger.debug(
74-
"ue={} rnti={:#x} PDSCH allocation skipped. Cause: No available HARQs", ue_cc.ue_index, ue_cc.rnti());
73+
logger.warning(
74+
"ue={} rnti={:#x} PDSCH allocation skipped. Cause: No available HARQs. Check if any HARQ-ACK went missing"
75+
" or is arriving to the scheduler too late.",
76+
ue_cc.ue_index,
77+
ue_cc.rnti());
7578
}
7679
continue;
7780
}
@@ -180,8 +183,10 @@ static bool alloc_ul_ue(const ue& u,
180183
if (h == nullptr) {
181184
// No HARQs available.
182185
if (not is_retx) {
183-
logger.debug(
184-
"ue={} rnti={:#x} PUSCH allocation skipped. Cause: No available HARQs", ue_cc.ue_index, ue_cc.rnti());
186+
logger.warning("ue={} rnti={:#x} PUSCH allocation skipped. Cause: No available HARQs. Check if any CRC PDU "
187+
"went missing or is arriving to the scheduler too late.",
188+
ue_cc.ue_index,
189+
ue_cc.rnti());
185190
}
186191
continue;
187192
}

0 commit comments

Comments
 (0)