Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | transport: Added liberio_zero_copy transport implementation | Moritz Fischer | 2017-08-07 | 3 | -0/+304 |
| | | | | | | | | | | | | This adds a zero copy transport using the liberio library. Currently supported API version for liberio is 0.3, this might still very much break, since the library is still in development. So far nobody uses it UHD so we might as well merge it. Signed-off-by: Alex Williams <alex.williams@ni.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | utils: add set_thread_name API call, move thread_priority to thread | Andrej Rode | 2017-06-29 | 2 | -0/+3 |
| | |||||
* | uhd: Replaced many lexical_cast with appropriate C++11 equivalents | Martin Braun | 2017-06-29 | 2 | -4/+3 |
| | |||||
* | x300: Added location info to FW ctrl error messages | Ashish Chaudhari | 2017-06-15 | 1 | -0/+4 |
| | |||||
* | Merge branch 'maint' | Martin Braun | 2017-05-03 | 2 | -171/+79 |
|\ | |||||
| * | PCIe: Fix runtime page size acquisition and page size alignment checks for ↵ | Michael West | 2017-04-20 | 1 | -1/+38 |
| | | | | | | | | nirio_zero_copy transport. | ||||
| * | Revert commit e348353c4f5acef6a5ece11e9c336df4c15d65e1. | Michael West | 2017-04-20 | 1 | -170/+41 |
| | | | | | | | | | | Worker threads significantly increased CPU load and did not increase performance as expected. | ||||
* | | add windows get_local_port() | Andrej Rode | 2017-04-14 | 1 | -0/+10 |
| | | |||||
* | | transports: Added get_local_port() method to UDP transports | Andrej Rode | 2017-04-14 | 1 | -0/+1 |
| | | |||||
* | | logging: remove unecessery newlines in log messages | Andrej Rode | 2017-04-07 | 1 | -1/+1 |
| | | |||||
* | | transport: Fix some nullptr vs NULL vs 0 | Martin Braun | 2017-04-06 | 1 | -2/+2 |
| | | | | | | | | This affects some versions of Clang when using C++11 features. | ||||
* | | transport: Fixed UHD logging post-merge | Martin Braun | 2017-04-06 | 1 | -2/+1 |
| | | |||||
* | | Merge branch 'maint' | Martin Braun | 2017-04-06 | 4 | -41/+421 |
|\| | |||||
| * | Implement worker threads to offload conversion of data and transport I/O | Michael West | 2017-04-05 | 1 | -41/+170 |
| | | | | | | | | | | for send() calls. - One worker thread per channel provides for improved scalability | ||||
| * | PCIe: Add checks to make sure buffers are page alighed (requirement of | Michael West | 2017-04-05 | 1 | -0/+23 |
| | | | | | | | | NI-RIO driver) | ||||
| * | Added class to add flow control to any zero_copy_if interface. | michael-west | 2017-04-05 | 2 | -0/+228 |
| | | |||||
* | | logging: Demoted a number of DEBUG messages to TRACE | Martin Braun | 2017-04-05 | 7 | -13/+13 |
| | | |||||
* | | Merge branch 'maint' | Martin Braun | 2017-03-31 | 2 | -7/+9 |
|\| | |||||
| * | NI-RIO: FIFO management optimizations for PCIe performance | Patrick Sisterhen | 2017-03-29 | 2 | -7/+9 |
| | | | | | | | | | | | | | | Pre-acquiring as much buffer as possible When acquiring during a streaming operation, acquire a minimum amount (frame size) or the amount we know is acquire-able Adding docstrings to nirio_fifo Making const-qualifying consistent | ||||
* | | Merge branch 'maint' | Martin Braun | 2017-03-24 | 2 | -8/+11 |
|\| | |||||
| * | UDP: Set default socket buffer size to number of frames * 9000 (maximum ↵ | michael-west | 2017-03-21 | 2 | -8/+11 |
| | | | | | | | | Ethernet MTU) | ||||
* | | utils: introduce new logging API and remove msg API | Andrej Rode | 2017-02-20 | 12 | -56/+56 |
| | | |||||
* | | uhd: Replace NULL with nullptr in if_addrs and super_recv_packet_handler | Andrej Rode | 2017-02-20 | 2 | -7/+7 |
| | | | | | | | | | | This is not a functional change, but it marks the usage of nullptr in UHD. Commits past this one may also use this C++11 feature. | ||||
* | | UDP transport: Utilize poll instead of select | Paul David | 2017-02-13 | 1 | -0/+12 |
| | | | | | | | | | | | | - Avoids the descriptor limit of 1024 on FD_SETSIZE - Fixes a buffer overflow due to that limit - Keeps select around for Windows compatibility | ||||
* | | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 4 | -9/+5 |
|/ | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development. | ||||
* | transport: Fixed memory leak in muxed_zero_copy_if | Martin Braun | 2016-11-28 | 1 | -2/+2 |
| | |||||
* | transport: Removed some superfluous variables | Martin Braun | 2016-11-28 | 3 | -8/+6 |
| | |||||
* | Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵ | Martin Braun | 2016-11-08 | 14 | -125/+125 |
| | | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that). | ||||
* | X300: Fix for recv timeout and wait_for_ack errors over PCIe. | michael-west | 2016-11-08 | 1 | -9/+59 |
| | | | | | | - Reduced allocation of buffers for each control stream. - Copied contol data into new managed buffer so managed buffer of base transport could be released. | ||||
* | CMake: fix the lvbitx path on windows | Paul David | 2016-10-26 | 1 | -6/+6 |
| | |||||
* | transport: Removed conditional compiles for terminator APIs | Martin Braun | 2016-09-05 | 2 | -14/+2 |
| | |||||
* | Merge branch 'UHD-3.9.LTS' into maint | Martin Braun | 2016-09-02 | 1 | -3/+8 |
|\ | | | | | | | | | | | | | | | This provides the GPS fixes. Conflicts: host/CMakeLists.txt tools/debs/upload_debs.sh | ||||
| * | N200: Simplify GPSDO UART so it does not strip or add characters | michael-west | 2016-09-02 | 1 | -4/+1 |
| | | |||||
| * | GPSDO: Make sure read_uart() returns only complete strings for all devices. | michael-west | 2016-09-02 | 1 | -3/+11 |
| | | |||||
| * | transport: Also send flow control ACKs on sequence errors | Martin Braun | 2016-03-16 | 1 | -0/+6 |
| | | |||||
* | | Merging RFNoC support for X310 | Martin Braun | 2016-08-09 | 2 | -13/+90 |
| | | |||||
* | | usb: usb_dummy made to match usb_control and usb_zero_copy | Martin Braun | 2016-08-02 | 1 | -2/+10 |
| | | |||||
* | | usb: tweak types for consistency between LIBUSB API calls and internal UHD ↵ | Michael Dickens | 2016-08-01 | 2 | -8/+8 |
| | | | | | | | | usage of returned values. | ||||
* | | usb: add virtual destructors where needed; make virtual destructors ↵ | Michael Dickens | 2016-08-01 | 4 | -20/+73 |
| | | | | | | | | out-of-line from class definition to reduce number of vtables emitted (according to clang). | ||||
* | | usb: fix interfaces to be type 'int' and endpoints to be type 'unsigned ↵ | Michael Dickens | 2016-08-01 | 2 | -11/+11 |
| | | | | | | | | char' to match the libusb API. | ||||
* | | usb: fix 'timeout' variables to be unsigned since that is what the ↵ | Michael Dickens | 2016-08-01 | 1 | -1/+1 |
| | | | | | | | | 'libusb_control_transfer' API uses. | ||||
* | | usb: fix 'submit' to return 'int' since that is what ↵ | Michael Dickens | 2016-08-01 | 1 | -7/+7 |
| | | | | | | | | 'libusb_control_transfer' returns; otherwise 'submit' is used with the correct types internally. | ||||
* | | transport: fixed an issue where the number of conversions were incorrectly ↵ | Paul David | 2016-08-01 | 2 | -2/+2 |
| | | | | | | | | | | | | | | based on the number of buffers - The number of conversions should be based on the number of channels available - This fix corrects a segmentation fault in rx_multi_samples | ||||
* | | usrp3: Added SW muxer/demuxer for the zero_copy interface | Ashish Chaudhari | 2016-07-29 | 2 | -0/+251 |
| | | | | | | | | | | | | | | - Can be used to share a single zero_copy_if object with multiple streams - Allows creating of virtual streams that are indistinguishable from low-level streams | ||||
* | | UHD: Fixes for super_recv_packet_hadler | michael-west | 2016-07-22 | 1 | -3/+14 |
| | | | | | | | | | | - Make recv() return immediately on EOB - In the timeout case, don't call the flow control hander if none exists | ||||
* | | transport: Removing task barrier for conversion calls in the ↵ | Paul David | 2016-06-08 | 1 | -22/+13 |
| | | | | | | | | super_send_packet_handler | ||||
* | | transport: Removing task barrier for conversion calls in the ↵ | Paul David | 2016-06-08 | 1 | -23/+12 |
| | | | | | | | | super_recv_packet_handler | ||||
* | | transport optimize: Added a thread transport offload to share the workload | Paul David | 2016-04-18 | 2 | -0/+159 |
| | | |||||
* | | Updated code to work for new minimum dependencies | Nicholas Corgan | 2016-03-21 | 1 | -22/+2 |
| | | | | | | | | | | * Removed code referencing now-unsupported versions of Boost * Added <stdint.h> includes where needed | ||||
* | | transport: Also send flow control ACKs on sequence errors | Martin Braun | 2016-03-21 | 1 | -0/+6 |
| | |