From bbb3aa78836a31e9df847a228c2f87e9e2a15fad Mon Sep 17 00:00:00 2001 From: michael-west Date: Thu, 24 Jan 2019 11:00:46 -0800 Subject: 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 --- host/lib/usrp/x300/x300_impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/x300') 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(); -- cgit v1.2.3