diff options
author | michael-west <michael.west@ettus.com> | 2019-01-18 18:42:36 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-21 16:53:03 -0800 |
commit | 86932606e3fe6b7ec89183e7f63252148047ad42 (patch) | |
tree | d87946fb0e297e379ea48f4eeb9b863d330f317b /host/lib/rfnoc/ctrl_iface.cpp | |
parent | f25e807f7862b02ede02547424ee11d414279ed9 (diff) | |
download | uhd-86932606e3fe6b7ec89183e7f63252148047ad42.tar.gz uhd-86932606e3fe6b7ec89183e7f63252148047ad42.tar.bz2 uhd-86932606e3fe6b7ec89183e7f63252148047ad42.zip |
transport: muxed_zero_copy_if fixes
Changed muxed_zero_copy_if to make each stream buffer the same number
of frames as the underlying transport and changed the size of the
underlying control transport for X300 and MPMD devices to match the
size of the command FIFO in order to prevent starvation of any single
control transport. Added some constants to remove hard coded values.
Signed-off-by: michael-west <michael.west@ettus.com>
Diffstat (limited to 'host/lib/rfnoc/ctrl_iface.cpp')
-rw-r--r-- | host/lib/rfnoc/ctrl_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/ctrl_iface.cpp b/host/lib/rfnoc/ctrl_iface.cpp index 6204d81f4..e0fc03eab 100644 --- a/host/lib/rfnoc/ctrl_iface.cpp +++ b/host/lib/rfnoc/ctrl_iface.cpp @@ -36,7 +36,7 @@ public: , _name(name) , _seq_out(0) , _max_outstanding_acks( - uhd::rfnoc::CMD_FIFO_SIZE / 3) // Max command packet size is 3 lines + uhd::rfnoc::CMD_FIFO_SIZE / uhd::rfnoc::MAX_CMD_PKT_SIZE) { UHD_ASSERT_THROW(bool(_xports.send)); UHD_ASSERT_THROW(bool(_xports.recv)); |