aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2019-01-24 11:00:46 -0800
committerAshish Chaudhari <ashish.chaudhari@ettus.com>2019-01-31 13:47:03 -0800
commitbbb3aa78836a31e9df847a228c2f87e9e2a15fad (patch)
treee0a8828719a92c4595c391bd48edcca2f220ab64 /host/lib/usrp/x300
parent1223294e532b9452aef0942feb44389369317c6e (diff)
downloaduhd-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/usrp/x300')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index c42f8dece..d912d66c3 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -1277,6 +1277,7 @@ uhd::both_xports_t x300_impl::make_transport(const uhd::sid_t& address,
both_xports_t xports;
xports.endianness = mb.if_pkt_is_big_endian ? ENDIANNESS_BIG : ENDIANNESS_LITTLE;
if (mb.xport_path == "nirio") {
+ xports.lossless = true;
xports.send_sid =
this->allocate_sid(mb, address, x300::SRC_ADDR0, x300::XB_DST_PCI);
xports.recv_sid = xports.send_sid.reversed();