From 691f191a1ea1a8d655976c9f7b9fdfe7b4b36a41 Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Thu, 12 Dec 2019 10:29:11 -0800 Subject: transport,usrp: Make available packet-based flow control DPDK provides a fixed number of fixed-size buffers for the receive window, so it needs packet-based flow control to avoid dropping packets. This change enables counting by packets. Co-authored-by: Ciro Nishiguchi --- host/lib/include/uhdlib/transport/links.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/include') diff --git a/host/lib/include/uhdlib/transport/links.hpp b/host/lib/include/uhdlib/transport/links.hpp index 09872b145..6fe51dbbd 100644 --- a/host/lib/include/uhdlib/transport/links.hpp +++ b/host/lib/include/uhdlib/transport/links.hpp @@ -20,7 +20,8 @@ using both_links_t = std::tuple; // lossy_xport + bool, // lossy_xport + bool>; // packet flow control /*! * Parameters for link creation. @@ -39,4 +40,3 @@ struct link_params_t }} // namespace uhd::transport #endif /* INCLUDED_UHDLIB_TRANSPORT_LINKS_HPP */ - -- cgit v1.2.3