diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-12-14 14:49:50 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-02 15:48:25 -0800 |
commit | cca76efccdf4afc49f8938bec3dd372098474b40 (patch) | |
tree | 2e65f4107fd24f15b81270854041900beb20d186 /host/lib/usrp | |
parent | 35c772d551442c5be4edb0cabe696744727c19d1 (diff) | |
download | uhd-cca76efccdf4afc49f8938bec3dd372098474b40.tar.gz uhd-cca76efccdf4afc49f8938bec3dd372098474b40.tar.bz2 uhd-cca76efccdf4afc49f8938bec3dd372098474b40.zip |
x300: Remove some trailing spaces
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 2e1450efa..c5ecdc6b4 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -824,9 +824,8 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr) << boost::format("You requested a receive frame size of (%lu) but your NIC's max frame size is (%lu).") % req_max_frame_size.recv_frame_size % _max_frame_sizes.recv_frame_size - << boost::format("Please verify your NIC's MTU setting using '%s' or set the recv_frame_size argument appropriately.") - % mtu_tool + % mtu_tool << "UHD will use the auto-detected max frame size for this connection." ; } @@ -837,9 +836,8 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr) << boost::format("You requested a send frame size of (%lu) but your NIC's max frame size is (%lu).") % req_max_frame_size.send_frame_size % _max_frame_sizes.send_frame_size - << boost::format("Please verify your NIC's MTU setting using '%s' or set the send_frame_size argument appropriately.") - % mtu_tool + % mtu_tool << "UHD will use the auto-detected max frame size for this connection." ; } @@ -1315,7 +1313,7 @@ uhd::both_xports_t x300_impl::make_transport( default_buff_args.recv_frame_size = std::min(system_max_recv_frame_size, x300::ETH_MSG_FRAME_SIZE); default_buff_args.send_buff_size = conn.link_rate / 50; // 20ms default_buff_args.recv_buff_size = std::max(conn.link_rate / 50, x300::ETH_MSG_NUM_FRAMES * x300::ETH_MSG_FRAME_SIZE); // enough to hold greater of 20ms or number of msg frames - if (xport_type == TX_DATA) + if (xport_type == TX_DATA) { size_t default_frame_size = conn.link_rate == x300::MAX_RATE_1GIGE ? x300::GE_DATA_FRAME_SEND_SIZE : x300::XGE_DATA_FRAME_SEND_SIZE; default_buff_args.send_frame_size = args.cast<size_t>("send_frame_size", std::min(default_frame_size, system_max_send_frame_size)); @@ -1330,7 +1328,7 @@ uhd::both_xports_t x300_impl::make_transport( default_buff_args.send_frame_size = system_max_send_frame_size; } } - else if (xport_type == RX_DATA) + else if (xport_type == RX_DATA) { size_t default_frame_size = conn.link_rate == x300::MAX_RATE_1GIGE ? x300::GE_DATA_FRAME_RECV_SIZE : x300::XGE_DATA_FRAME_RECV_SIZE; default_buff_args.recv_frame_size = args.cast<size_t>("recv_frame_size", std::min(default_frame_size, system_max_recv_frame_size)); |