runtime: print destination up message for local RTIO

pull/1212/head
Sebastien Bourdeauducq 2018-09-13 14:10:52 +08:00
parent fa872c3341
commit 042b0065de
1 changed files with 4 additions and 1 deletions

View File

@ -208,7 +208,10 @@ pub mod drtio {
if hop == 0 {
/* local RTIO */
up_destinations[destination] = true;
if !up_destinations[destination] {
info!("[DEST#{}] destination is up", destination);
up_destinations[destination] = true;
}
} else if hop as usize <= csr::DRTIO.len() {
let linkno = hop - 1;
if up_destinations[destination] {