aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_zero_copy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* transport: udp: Fix buffer size warningLars Amsel2019-03-051-2/+2
| | | | | | When using a buffer size smaller than recommended, a warning would be printed with the wrong value (it would print the default value, not the actual value).
* lib: transport: apply clang-formatBrent Stapleton2019-01-181-200/+239
| | | | | | | | | | This is a continuation of 967be2a4. $ find host/lib/transport -iname *.hpp -o -iname *.cpp |\ xargs clang-format -i -style=file Skipping host/lib/transport/nirio/ because of build errors. $ git checkout host/lib/transport/nirio
* udp_zero_copy: add default xport params.Trung Tran2018-09-131-14/+58
|
* X300: Change Ethernet bufferingMichael West2018-07-251-22/+32
| | | | | | | Ethernet buffering is now done so that most of the buffering is done in the socket buffers and multiple frames are only used to support the receive side offload of the socket I/O. Eliminates dropped packets at high full duplex rates.
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-2/+3
| | | | Replace with std::this_thread::sleep_for().
* lib: move atomic.hpp and system_time.hpp to uhdlibMartin Braun2018-04-061-1/+1
|
* transport: Demote UDP socket buffer size log message to TRACEMartin Braun2018-03-301-1/+1
| | | | | Note: When socket buffers are incorrectly size, a WARNING is still printed.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* Fix build with Boost 1.66ilovezfs2017-12-191-1/+1
| | | | Thanks to FX Coudert for suggesting this fix.
* udp: Modify log messages of UDP transportMartin Braun2017-10-041-5/+12
| | | | | - Remove multi-line log message for socket creation - Include local addr and port in trace messages
* udp: Added option to query local address of socketMartin Braun2017-10-041-1/+10
|
* transports: Added get_local_port() method to UDP transportsAndrej Rode2017-04-141-0/+1
|
* logging: remove unecessery newlines in log messagesAndrej Rode2017-04-071-1/+1
|
* logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-051-1/+1
|
* Merge branch 'maint'Martin Braun2017-03-241-8/+8
|\
| * UDP: Set default socket buffer size to number of frames * 9000 (maximum ↵michael-west2017-03-211-8/+8
| | | | | | | | Ethernet MTU)
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-7/+7
|/
* transport: Removed some superfluous variablesMartin Braun2016-11-281-1/+1
|
* Fix for BUG 869: UHD: Unhandled exceptions during destruction of multi_usrp ↵michael-west2015-08-051-1/+8
| | | | | | | object cause application to terminate - Prevented libusb_zero_copy_single from submitting transfers after libusb reports an error - Made error messages in libusb_zero_copy and udp_zero_copy more descriptive
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-16/+47
|
* Squashed merge of Coverity fixes.Ben Hilburn2013-11-271-1/+2
|
* udp: fix ENOBUFS with send/retry for udp socketJosh Blum2013-01-151-2/+16
|
* transport: switch to the atomic claimerJosh Blum2012-07-021-1/+1
| | | | | This wont have much effect because the buffers are not currently used in any queue by the caller
* uhd: squashed transport workJosh Blum2012-04-231-81/+58
|
* uhd: make atlbase options for msvc buildJosh Blum2012-03-141-4/+5
|
* udp: added check_registry_for_fast_send_threshold to non-wsa transportJosh Blum2011-09-081-0/+30
|
* udp: replaced callbacks in zero copy interface by giving direct queue accessJosh Blum2011-06-141-38/+19
| | | | | The managed receive buffer knows how to restore itself into the queue when released. The managed send buffer knows how to ::send itself and restore when commited.
* uhd: replace managed buffer shared pointer w/ intrusive pointer to reduce ↵Josh Blum2011-05-141-10/+2
| | | | overhead
* uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-041-3/+3
| | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* uhd: replaced many conditional prints with UHD_LOG usageJosh Blum2011-05-041-7/+6
|
* udp: return the managed recv buffer to the buffer queue on timeoutJosh Blum2011-03-011-0/+2
|
* udp: try non-blocking recv first for performanceJosh Blum2011-02-201-10/+14
|
* udp: update docs for transport, create common header for wait implementationJosh Blum2011-02-201-0/+304
Reimplemented simple udp transport with one impl class. Moved wait for ready/select implementation into common header. Important note on select, timeval should have usecs < 1 second or it may error on some platforms. Fixed in this implementation.