From c13ba0d21f80fee022f31e13cad0c5b0aa712aaf Mon Sep 17 00:00:00 2001 From: Matthew Crymble Date: Mon, 3 Aug 2020 14:48:03 -0500 Subject: X300: fix for incorrect PCIe buffer size values added extra args to get PCIe buffer sizes from factory method --- host/lib/include/uhdlib/transport/nirio_link.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'host/lib/include/uhdlib/transport') diff --git a/host/lib/include/uhdlib/transport/nirio_link.hpp b/host/lib/include/uhdlib/transport/nirio_link.hpp index cf1bb1d75..84d55113d 100644 --- a/host/lib/include/uhdlib/transport/nirio_link.hpp +++ b/host/lib/include/uhdlib/transport/nirio_link.hpp @@ -79,13 +79,15 @@ public: * \param addr a string representing the destination address * \param port a string representing the destination port * \param params Values for frame sizes, num frames, and buffer sizes - * \param[out] recv_socket_buff_size Returns the recv socket buffer size - * \param[out] send_socket_buff_size Returns the send socket buffer size + * \param[out] recv_buff_size Returns the recv buffer size + * \param[out] send_buff_size Returns the send buffer size */ static sptr make(uhd::niusrprio::niusrprio_session::sptr fpga_session, const uint32_t instance, const link_params_t& params, - const uhd::device_addr_t& hints); + const uhd::device_addr_t& hints, + size_t& recv_buff_size, + size_t& send_buff_size); /*! * Get the physical adapter ID used for this link -- cgit v1.2.3