aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_zero_copy_asio.cpp
Commit message (Collapse)AuthorAgeFilesLines
* udp: update docs for transport, create common header for wait implementationJosh Blum2011-02-201-319/+0
| | | | | | | 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.
* uhd: reusable buffers for libusb zero copy implementationJosh Blum2011-02-151-24/+17
| | | | tweaks on udp implementation to simplify
* udp: udp_zero_copy_asio comments and tweaksJosh Blum2011-02-101-10/+2
|
* uhd: tweaks to bounded bufferJosh Blum2011-02-101-5/+5
| | | | | | | Added push with haste. Call with haste first in the wait methods to avoid time compare/wait when not needed. Added new calls to the libusb and udp zero copy impls tests pass
* udp: comments and minor code tweaks for udp zero copy implJosh Blum2011-02-101-18/+41
|
* uhd: tweaks for windows warnings and errorsJosh Blum2011-02-091-3/+3
|
* udp: removed asio implementation, created custom managed buffer classes to ↵Josh Blum2011-02-091-155/+115
| | | | re-use
* uhd: replace asio buffer in make safe w/ memory and length, makes things simplerJosh Blum2011-02-071-7/+8
|
* uhd: change bounded_buffer implementation and code using itJosh Blum2011-02-051-17/+15
| | | | | | | The bounded buffer now uses the detail idiom to hide implementation to inline better. The whole sptr/make idiom was removed from bounded buffer to just construct directly. The code using bounded buffer was changed for the new api: replaces access operators and calls to the factory function.
* udp: simplfy zero copy asio overhead with less shared_from_this, and timed ↵Josh Blum2011-02-051-19/+25
| | | | waits when not needed
* udp_zero_copy_asio: removed the #ifdefed num frames and min buff size stuffJosh Blum2011-01-261-45/+9
| | | | | | basically, everything can share a common number of frames, and there is no min buff size, only resize if a size was specified, this simplifies the warnings and resize code
* uhd: fixed maxosx bug, was resizing the transport bufferJosh Blum2011-01-261-4/+0
| | | | | | but it cant be resized on macos and I messed up the code that blocked that behavior reimplemented block in usrp2_impl, seems more correct here
* udp: revert depadding hack for recv_frame_sizeJosh Blum2011-01-211-1/+1
|
* udp: shrink default recv_frame_size by 4 bytes until FPGA handles 2 byte pad ↵Josh Blum2011-01-211-1/+1
| | | | correctly (1516)
* uhd: update copyright datesJosh Blum2011-01-051-1/+1
|
* Merge branch 'buffer_pool' into nextJosh Blum2011-01-041-6/+6
|\
| * uhd: created buffer pool to allocate aligned memory, and implemented in ↵Josh Blum2011-01-031-6/+6
| | | | | | | | transports
* | udp: tweak warning on socket resizeJosh Blum2010-12-291-2/+3
| |
* | udp_ports: enable async recv in xport, set performance params in top level, ↵Josh Blum2010-12-221-3/+4
|/ | | | things working
* uhd: pulled in some worthwhile changes from flow control branchJosh Blum2010-11-111-11/+20
|
* uhd: replaced print warning with a post warning call and registryJosh Blum2010-10-261-1/+1
| | | | | | renamed print warning calls in the implementation fixed issue with dict::pop so it now works even if the value is not comparable
* udp: worked blocking send back into udp transport, enable async with #defineJosh Blum2010-10-081-44/+70
| | | | tweaked some code in bounded buffer
* udp: fix msvc errors for udp transportJosh Blum2010-10-071-2/+2
|
* udp: implementation for blocking recv w/ timeout, switch async ↵Josh Blum2010-10-071-39/+101
| | | | implementation w/ #define
* udp: fixed boost format syntax for warning messageJosh Blum2010-10-061-3/+3
|
* uhd: transport docs for UDP and USB (moved from usrp docs)Josh Blum2010-10-051-1/+4
|
* uhd: replaced frame params for the zero copy interfaces with a device addressJosh Blum2010-10-051-15/+20
| | | | | | | | | | the device address gives a key, value pair of infinite optional capabilities added a cast option to the device address to cast string to type T added call to the zero_copy_if to get send and recv frame sizes changed the usrp2 impl to calculate recv/send spp from the data transport
* uhd: added include for enable_shared_from_this when usedJosh Blum2010-10-041-0/+1
|
* udp: added io service work to keep service runningJosh Blum2010-10-041-4/+12
|
* uhd: changed buffer allocations to be in a single chunk, udp: pass frame ↵Josh Blum2010-10-031-40/+45
| | | | sizes into the impl constructor
* uhd: implemented udp zero copy asio with async callsJosh Blum2010-10-031-57/+129
|
* uhd: implemented a double timeout (in seconds) for send and recv chainsJosh Blum2010-10-011-2/+2
| | | | | | | | converted all size_t timeout_ms to double timeout bounded and alignment buffer now take double timeout added timeout to device::send and zero_copy_if::get_send_buff
* uhd: implemented recv timeout for zero copy interfaceJosh Blum2010-09-301-3/+2
|
* uhd: added warning printer utility functionJosh Blum2010-08-041-6/+6
|
* usrp2: use default sized buffer on transmit (or reasonably smaller)Josh Blum2010-07-261-4/+12
|
* usrp2: disable buffer resize on platforms that cry about itJosh Blum2010-07-141-0/+3
|
* uhd: ssize_t for phony zero copy return types, null sptr for timeout/error ↵Josh Blum2010-07-091-6/+4
| | | | with get managed buffers
* usrp2: added notes on multiple device network setup, improved warnings for ↵Josh Blum2010-07-081-6/+6
| | | | buff size stuff
* usrp2: moved common defined for udp mtu and implemented change.Josh Blum2010-07-071-5/+5
| | | | | | The uhp mtu is now defined in uhd_simple.hpp. The fw common code does not need to know this information. Fixed a calculation bug in the usrp2 impl code for max samples.
* usrp2: increased transport buffer minimum size, and added warningJosh Blum2010-07-051-1/+8
| | | | | | added more notes on buffer size to the manual pulled in some firmware fixes from the mimo work, just to have them in here
* usrp2: improved print-out for socket buffer sizingJosh Blum2010-06-141-2/+5
|
* removed some windows warningsJosh Blum2010-06-021-3/+3
|
* use select for socket timeout, works windows and linuxJosh Blum2010-06-021-10/+28
|
* use polling for socket recv, timeout socket option not portableJosh Blum2010-06-011-12/+9
|
* Implemented pirate thread, moved io impl details into io impl cpp file. ↵Josh Blum2010-06-011-1/+1
| | | | Fixed bug in bounded buffer push with pop on full.
* added frame count call to zero-copy iface, tweaks for udp asio implJosh Blum2010-05-291-36/+49
|
* Made a phony zero-copy interface for those interfaces that are actual ↵Josh Blum2010-05-281-82/+17
| | | | | | copy-interfaces. Using interface in the udp asio transport.
* fix: wrong size for buffer in recvJosh Blum2010-05-281-1/+1
|
* Tweak with the udp and zero-copy transport. Eventually, the caller will hang ↵Josh Blum2010-05-271-18/+20
| | | | onto a ring of managed buffers.
* automatic resize for small udp buffersJosh Blum2010-05-171-26/+35
|