diff options
author | michael-west <michael.west@ettus.com> | 2019-01-24 11:00:46 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish.chaudhari@ettus.com> | 2019-01-31 13:47:03 -0800 |
commit | bbb3aa78836a31e9df847a228c2f87e9e2a15fad (patch) | |
tree | e0a8828719a92c4595c391bd48edcca2f220ab64 /host/lib/include/uhdlib/rfnoc | |
parent | 1223294e532b9452aef0942feb44389369317c6e (diff) | |
download | uhd-bbb3aa78836a31e9df847a228c2f87e9e2a15fad.tar.gz uhd-bbb3aa78836a31e9df847a228c2f87e9e2a15fad.tar.bz2 uhd-bbb3aa78836a31e9df847a228c2f87e9e2a15fad.zip |
RFNoC: Prevent unnecessary FC ACK packets
Avoid sending flow control ACK packets for lossless transports.
Add 'send_no_fc_acks' device argument to explicitly prevent
flow control ACK packets from being sent.
Signed-off-by: michael-west <michael.west@ettus.com>
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/xports.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/xports.hpp b/host/lib/include/uhdlib/rfnoc/xports.hpp index 06fd4713b..6b30fe5b1 100644 --- a/host/lib/include/uhdlib/rfnoc/xports.hpp +++ b/host/lib/include/uhdlib/rfnoc/xports.hpp @@ -18,7 +18,8 @@ namespace uhd { */ struct both_xports_t { - both_xports_t(): recv_buff_size(0), send_buff_size(0) {} + both_xports_t(): recv_buff_size(0), send_buff_size(0), lossless(false) + {} uhd::transport::zero_copy_if::sptr recv; uhd::transport::zero_copy_if::sptr send; size_t recv_buff_size; @@ -26,9 +27,9 @@ namespace uhd { uhd::sid_t send_sid; uhd::sid_t recv_sid; uhd::endianness_t endianness; + bool lossless; }; }; #endif /* INCLUDED_LIBUHD_XPORTS_HPP */ - |