aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
Commit message (Collapse)AuthorAgeFilesLines
* uhd: replace header checks in cmake files with more robust compile checks ↵Josh Blum2011-02-212-15/+26
| | | | | | for features implemented different ifdefs in the cpp files
* udp: try non-blocking recv first for performanceJosh Blum2011-02-203-14/+18
|
* udp: update docs for transport, create common header for wait implementationJosh Blum2011-02-204-143/+91
| | | | | | | 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: use source properties to set flags and defs not globally, but only for ↵Josh Blum2011-02-171-2/+7
| | | | the source
* uhd: tweaks for windows msvc compiler warnings and errorsJosh Blum2011-02-161-2/+2
|
* usrp-e100: replaced safe managed buffers in usrp-e100 mmap with custom onesJosh Blum2011-02-152-115/+0
| | | | | | | | the buffers are reusable and the overhead is reduced (nothing to malloc) also removed the zero_copy.cpp (not needed anymore) need to test on device...
* uhd: reusable buffers for libusb zero copy implementationJosh Blum2011-02-152-347/+186
| | | | tweaks on udp implementation to simplify
* uhd: misc speedups w/ look up tablesJosh Blum2011-02-101-1/+2
| | | | | | | use a look up table for io type size (in the case its used in the fast-path) move the static const pred table in vrt unpacker to the global level, for some reason this was incurring a malloc (perhaps because there were 2 tables).
* udp: udp_zero_copy_asio comments and tweaksJosh Blum2011-02-101-10/+2
|
* uhd: simplified converter calls in vrt pkt handler with ref vector changesJosh Blum2011-02-101-9/+4
|
* uhd: use ref vector class for the conversion routines I/OJosh Blum2011-02-101-2/+2
|
* uhd: tweaks to bounded bufferJosh Blum2011-02-102-7/+7
| | | | | | | 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 to vrt pkt handler and usrp2 fc monitorJosh Blum2011-02-091-3/+5
| | | | | | pkt handler, only resize once per call to send/recv (not per fragment) fc monitor, code tweaks, check ready before touching time wait stuff (faster)
* uhd: tweaks for windows warnings and errorsJosh Blum2011-02-091-3/+3
|
* uhd: replaced std::vector<type> for buffer arguments in send/recvJosh Blum2011-02-091-4/+4
| | | | | | | | | Created new type ref_vector for representing a vector of pointers. Can be created from std::vector or a pointer. Removes the convenience constrcutors for send/recv, its not needed. Removes malloc/free overhead when using send/recv with pointer.
* 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-073-26/+33
|
* uhd: removed instances of shared_from_this() in transportsJosh Blum2011-02-052-4/+3
| | | | | | Its known to be slow and using sptrs of large objects. This should be a slight performance improvement for libusb and usrp_e100_mmap implementation.
* uhd: change bounded_buffer implementation and code using itJosh Blum2011-02-053-26/+23
| | | | | | | 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.
* uhd: work to remove dynamic allocations of std::vector in vrt_packet_handler ↵Josh Blum2011-02-051-22/+25
| | | | calls
* udp: simplfy zero copy asio overhead with less shared_from_this, and timed ↵Josh Blum2011-02-051-19/+25
| | | | waits when not needed
* uhd: various performance tweaksJosh Blum2011-02-042-24/+41
|
* Merge branch 'udp_xport_work'Josh Blum2011-01-261-45/+9
|\
| * 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: if_addrs check that iter->ifa_addr is NULL before continuingJosh Blum2011-01-261-0/+1
|/ | | | | Happened when building UHD within the OpenWRT environment where ifa_addr can be null it seems!
* 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
|
* usb: restored disable_interruption on get_lut_with_wait (gets called externally)Josh Blum2011-01-211-0/+1
|
* udp: shrink default recv_frame_size by 4 bytes until FPGA handles 2 byte pad ↵Josh Blum2011-01-211-1/+1
| | | | correctly (1516)
* usb: use thread interruption in usb zero copy on deconstructionJosh Blum2011-01-171-8/+9
|
* uhd: fix size param error when getting a convert routine in pkt handlerJosh Blum2011-01-121-2/+2
|
* uhd: changed convert routines to return the function pointerJosh Blum2011-01-121-16/+23
| | | | changed the vrt packet handler to get the function pointer (once), this may be a minor performance help
* uhd: add msvc stdint.h so we can use stdints typedefs normally like, fix in ↵Josh Blum2011-01-112-38/+0
| | | | fw_common.h
* uhd: update copyright datesJosh Blum2011-01-055-5/+5
|
* uhd: removed convert types, replaced by convertJosh Blum2011-01-043-590/+0
|
* Merge branch 'convert' into nextJosh Blum2011-01-041-5/+7
|\
| * uhd: switched the unit test to the new convert API, implemented in vrt pkt ↵Josh Blum2011-01-042-6/+8
| | | | | | | | handler
* | uhd: removed REQUIRED from find package calls to libusb and docutilsJosh Blum2011-01-041-1/+1
| |
* | Merge branch 'buffer_pool' into nextJosh Blum2011-01-044-12/+94
|\ \
| * | uhd: some tweaks to buffer poolJosh Blum2011-01-031-3/+3
| | |
| * | uhd: created buffer pool to allocate aligned memory, and implemented in ↵Josh Blum2011-01-034-11/+92
| |/ | | | | | | transports
| * uhd: create a find packages module for docutils, cleaned up some of the ↵Josh Blum2011-01-021-1/+2
| | | | | | | | other find package stuff
* | udp: tweak warning on socket resizeJosh Blum2010-12-291-2/+3
| |
* | Merge branch 'uhd_master' into uhd_nextJosh Blum2010-12-272-40/+1
|\|
| * cmake: moved module files into modules directory, set modules pathJosh Blum2010-12-272-40/+1
| |
* | Merge branch 'udp_ports' into nextJosh Blum2010-12-222-3/+5
|\ \ | |/ |/| | | | | | | | | | | Conflicts: firmware/microblaze/apps/txrx_uhd.c host/lib/usrp/usrp2/mboard_impl.cpp host/lib/usrp/usrp2/usrp2_impl.cpp host/lib/usrp/usrp2/usrp2_impl.hpp
| * udp_ports: enable async recv in xport, set performance params in top level, ↵Josh Blum2010-12-221-3/+4
| | | | | | | | things working
| * udp_ports: added message handling to alignment codeJosh Blum2010-12-221-0/+1
| |
* | uhd: use the include subdir macro to simplify the lib subdirs cmakelistsJosh Blum2010-12-201-20/+22
| |