Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | udp: return the managed recv buffer to the buffer queue on timeout | Josh Blum | 2011-03-01 | 1 | -0/+2 |
| | |||||
* | uhd: replace header checks in cmake files with more robust compile checks ↵ | Josh Blum | 2011-02-21 | 2 | -15/+26 |
| | | | | | | for features implemented different ifdefs in the cpp files | ||||
* | udp: try non-blocking recv first for performance | Josh Blum | 2011-02-20 | 3 | -14/+18 |
| | |||||
* | udp: update docs for transport, create common header for wait implementation | Josh Blum | 2011-02-20 | 4 | -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 Blum | 2011-02-17 | 1 | -2/+7 |
| | | | | the source | ||||
* | uhd: tweaks for windows msvc compiler warnings and errors | Josh Blum | 2011-02-16 | 1 | -2/+2 |
| | |||||
* | usrp-e100: replaced safe managed buffers in usrp-e100 mmap with custom ones | Josh Blum | 2011-02-15 | 2 | -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 implementation | Josh Blum | 2011-02-15 | 2 | -347/+186 |
| | | | | tweaks on udp implementation to simplify | ||||
* | uhd: misc speedups w/ look up tables | Josh Blum | 2011-02-10 | 1 | -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 tweaks | Josh Blum | 2011-02-10 | 1 | -10/+2 |
| | |||||
* | uhd: simplified converter calls in vrt pkt handler with ref vector changes | Josh Blum | 2011-02-10 | 1 | -9/+4 |
| | |||||
* | uhd: use ref vector class for the conversion routines I/O | Josh Blum | 2011-02-10 | 1 | -2/+2 |
| | |||||
* | uhd: tweaks to bounded buffer | Josh Blum | 2011-02-10 | 2 | -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 impl | Josh Blum | 2011-02-10 | 1 | -18/+41 |
| | |||||
* | uhd: tweaks to vrt pkt handler and usrp2 fc monitor | Josh Blum | 2011-02-09 | 1 | -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 errors | Josh Blum | 2011-02-09 | 1 | -3/+3 |
| | |||||
* | uhd: replaced std::vector<type> for buffer arguments in send/recv | Josh Blum | 2011-02-09 | 1 | -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 Blum | 2011-02-09 | 1 | -155/+115 |
| | | | | re-use | ||||
* | uhd: replace asio buffer in make safe w/ memory and length, makes things simpler | Josh Blum | 2011-02-07 | 3 | -26/+33 |
| | |||||
* | uhd: removed instances of shared_from_this() in transports | Josh Blum | 2011-02-05 | 2 | -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 it | Josh Blum | 2011-02-05 | 3 | -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 Blum | 2011-02-05 | 1 | -22/+25 |
| | | | | calls | ||||
* | udp: simplfy zero copy asio overhead with less shared_from_this, and timed ↵ | Josh Blum | 2011-02-05 | 1 | -19/+25 |
| | | | | waits when not needed | ||||
* | uhd: various performance tweaks | Josh Blum | 2011-02-04 | 2 | -24/+41 |
| | |||||
* | Merge branch 'udp_xport_work' | Josh Blum | 2011-01-26 | 1 | -45/+9 |
|\ | |||||
| * | udp_zero_copy_asio: removed the #ifdefed num frames and min buff size stuff | Josh Blum | 2011-01-26 | 1 | -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 continuing | Josh Blum | 2011-01-26 | 1 | -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 buffer | Josh Blum | 2011-01-26 | 1 | -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_size | Josh Blum | 2011-01-21 | 1 | -1/+1 |
| | |||||
* | usb: restored disable_interruption on get_lut_with_wait (gets called externally) | Josh Blum | 2011-01-21 | 1 | -0/+1 |
| | |||||
* | udp: shrink default recv_frame_size by 4 bytes until FPGA handles 2 byte pad ↵ | Josh Blum | 2011-01-21 | 1 | -1/+1 |
| | | | | correctly (1516) | ||||
* | usb: use thread interruption in usb zero copy on deconstruction | Josh Blum | 2011-01-17 | 1 | -8/+9 |
| | |||||
* | uhd: fix size param error when getting a convert routine in pkt handler | Josh Blum | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | uhd: changed convert routines to return the function pointer | Josh Blum | 2011-01-12 | 1 | -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 Blum | 2011-01-11 | 2 | -38/+0 |
| | | | | fw_common.h | ||||
* | uhd: update copyright dates | Josh Blum | 2011-01-05 | 5 | -5/+5 |
| | |||||
* | uhd: removed convert types, replaced by convert | Josh Blum | 2011-01-04 | 3 | -590/+0 |
| | |||||
* | Merge branch 'convert' into next | Josh Blum | 2011-01-04 | 1 | -5/+7 |
|\ | |||||
| * | uhd: switched the unit test to the new convert API, implemented in vrt pkt ↵ | Josh Blum | 2011-01-04 | 2 | -6/+8 |
| | | | | | | | | handler | ||||
* | | uhd: removed REQUIRED from find package calls to libusb and docutils | Josh Blum | 2011-01-04 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'buffer_pool' into next | Josh Blum | 2011-01-04 | 4 | -12/+94 |
|\ \ | |||||
| * | | uhd: some tweaks to buffer pool | Josh Blum | 2011-01-03 | 1 | -3/+3 |
| | | | |||||
| * | | uhd: created buffer pool to allocate aligned memory, and implemented in ↵ | Josh Blum | 2011-01-03 | 4 | -11/+92 |
| |/ | | | | | | | transports | ||||
| * | uhd: create a find packages module for docutils, cleaned up some of the ↵ | Josh Blum | 2011-01-02 | 1 | -1/+2 |
| | | | | | | | | other find package stuff | ||||
* | | udp: tweak warning on socket resize | Josh Blum | 2010-12-29 | 1 | -2/+3 |
| | | |||||
* | | Merge branch 'uhd_master' into uhd_next | Josh Blum | 2010-12-27 | 2 | -40/+1 |
|\| | |||||
| * | cmake: moved module files into modules directory, set modules path | Josh Blum | 2010-12-27 | 2 | -40/+1 |
| | | |||||
* | | Merge branch 'udp_ports' into next | Josh Blum | 2010-12-22 | 2 | -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 Blum | 2010-12-22 | 1 | -3/+4 |
| | | | | | | | | things working | ||||
| * | udp_ports: added message handling to alignment code | Josh Blum | 2010-12-22 | 1 | -0/+1 |
| | |