diff --git a/libboard_zynq/src/eth/tx.rs b/libboard_zynq/src/eth/tx.rs index a5b215c..49a5d77 100644 --- a/libboard_zynq/src/eth/tx.rs +++ b/libboard_zynq/src/eth/tx.rs @@ -2,6 +2,7 @@ use core::ops::{Deref, DerefMut}; use alloc::{vec, vec::Vec}; use libcortex_a9::{cache::dcc_slice, UncachedSlice}; use libregister::*; +use log::warn; use super::{Buffer, regs}; /// Descriptor entry @@ -113,6 +114,7 @@ impl DescList { Some(PktRef { entry, buffer, regs }) } else { // Still in use by HW (sending too fast, ring exceeded) + warn!("tx ring overflow"); None } }