aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/super_recv_packet_handler.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2013-07-19 12:38:23 -0700
committerJosh Blum <josh@joshknows.com>2013-07-19 12:38:23 -0700
commit94a810f3b95c2fcd361a41862abf5280e989eee1 (patch)
tree992bfe353e874d7383b4f40e13bf0ba87181b7aa /host/lib/transport/super_recv_packet_handler.hpp
parent6553047fca9536bd7633360ba919825bced372b7 (diff)
downloaduhd-94a810f3b95c2fcd361a41862abf5280e989eee1.tar.gz
uhd-94a810f3b95c2fcd361a41862abf5280e989eee1.tar.bz2
uhd-94a810f3b95c2fcd361a41862abf5280e989eee1.zip
uhd: packet handler minor changes
* overflow recovery also in case of alignment failure * print D (discontinuities) instead of O in seq errors
Diffstat (limited to 'host/lib/transport/super_recv_packet_handler.hpp')
-rw-r--r--host/lib/transport/super_recv_packet_handler.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp
index 75d1f3068..688228e49 100644
--- a/host/lib/transport/super_recv_packet_handler.hpp
+++ b/host/lib/transport/super_recv_packet_handler.hpp
@@ -502,7 +502,7 @@ private:
curr_info.metadata.start_of_burst = false;
curr_info.metadata.end_of_burst = false;
curr_info.metadata.error_code = rx_metadata_t::ERROR_CODE_OVERFLOW;
- UHD_MSG(fastpath) << "O";
+ UHD_MSG(fastpath) << "D";
return;
}
@@ -522,6 +522,7 @@ private:
curr_info.metadata.start_of_burst = false;
curr_info.metadata.end_of_burst = false;
curr_info.metadata.error_code = rx_metadata_t::ERROR_CODE_ALIGNMENT;
+ _props[index].handle_overflow();
return;
}