aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/include
diff options
context:
space:
mode:
authorAlex Williams <alex.williams@ni.com>2019-12-12 10:29:11 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-12-20 16:32:22 -0800
commit691f191a1ea1a8d655976c9f7b9fdfe7b4b36a41 (patch)
treecfa48579158488852d8a7832da1cda14d7904373 /host/lib/include
parentcb400696bf2fbe82eea0f38d04a1771ccf6fd868 (diff)
downloaduhd-691f191a1ea1a8d655976c9f7b9fdfe7b4b36a41.tar.gz
uhd-691f191a1ea1a8d655976c9f7b9fdfe7b4b36a41.tar.bz2
uhd-691f191a1ea1a8d655976c9f7b9fdfe7b4b36a41.zip
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 <ciro.nishiguchi@ni.com>
Diffstat (limited to 'host/lib/include')
-rw-r--r--host/lib/include/uhdlib/transport/links.hpp4
1 files changed, 2 insertions, 2 deletions
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<uhd::transport::send_link_if::sptr,
size_t, // num_send_frames
uhd::transport::recv_link_if::sptr,
size_t, // num_recv_frames
- bool>; // 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 */
-