Skip to content

Commit f10b741

Browse files
committed
pdcp: when crypto exec is full, warn only whe warn_on_drop is enabled
1 parent 4104136 commit f10b741

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/pdcp/pdcp_entity_tx.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,11 @@ void pdcp_entity_tx::apply_security(pdcp_tx_buffer_info buf_info)
527527
// apply reordering in UE executor
528528
auto fn = [this, pdu_info = std::move(pdu_info)]() mutable { apply_reordering(std::move(pdu_info)); };
529529
if (not ue_dl_executor.execute(std::move(fn))) {
530-
logger.log_warning("Dropped PDU, UE executor queue is full. count={}", tx_count);
530+
if (cfg.custom.warn_on_drop) {
531+
logger.log_warning("Dropped PDU, UE executor queue is full. count={}", tx_count);
532+
} else {
533+
logger.log_debug("Dropped PDU, UE executor queue is full. count={}", tx_count);
534+
}
531535
}
532536
}
533537

0 commit comments

Comments
 (0)