summaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-05 12:50:53 -0700
committerJosh Blum <josh@joshknows.com>2010-10-05 12:50:53 -0700
commitd2494b0313399b141913ad332315fefbba012e94 (patch)
tree94a5ec9039e808fbfbbf71dcdd5b9670fc08f373 /host/lib
parent0cd5375b5c8a928f112a963d9c9c2556bafed108 (diff)
downloaduhd-d2494b0313399b141913ad332315fefbba012e94.tar.gz
uhd-d2494b0313399b141913ad332315fefbba012e94.tar.bz2
uhd-d2494b0313399b141913ad332315fefbba012e94.zip
uhd: transport docs for UDP and USB (moved from usrp docs)
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/transport/udp_zero_copy_asio.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp
index ada282e07..a87f17a91 100644
--- a/host/lib/transport/udp_zero_copy_asio.cpp
+++ b/host/lib/transport/udp_zero_copy_asio.cpp
@@ -248,7 +248,10 @@ template<typename Opt> static void resize_buff_helper(
if (actual_size < target_size) uhd::print_warning(str(boost::format(
"The %s buffer is smaller than the requested size.\n"
"The minimum recommended buffer size is %d bytes.\n"
- "See the USRP2 application notes on buffer resizing.\n"
+ "See the transport application notes on buffer resizing.\n"
+ #if defined(UHD_PLATFORM_LINUX)
+ "On Linux: sudo sysctl -w net.core.rmem_max=%2%\n"
+ #endif /*defined(UHD_PLATFORM_LINUX)*/
) % name % min_sock_buff_size));
}