Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 41 | -37/+78 |
| | | | | | | | 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 Braun | 2017-12-22 | 39 | -682/+253 |
| | |||||
* | Fix build with Boost 1.66 | ilovezfs | 2017-12-19 | 3 | -3/+3 |
| | | | | Thanks to FX Coudert for suggesting this fix. | ||||
* | transport: nirio_zero_copy: Remove redundant buffer pools | Moritz Fischer | 2017-10-11 | 1 | -5/+0 |
| | | | | | | | Remove the redundant send/recv buffer_pools from nirio_zero_copy_impl class as no one is using them. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | transport: liberio: Check return values for liberio_chan_set_fixed_size() | Moritz Fischer | 2017-10-10 | 1 | -4/+10 |
| | | | | | | | Check return value of liberio_chan_set_fixed_size() since it can fail, and bad things happen if one just proceeds. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | transport: liberio: Fix bug with recv timeout conversion | Moritz Fischer | 2017-10-05 | 1 | -3/+3 |
| | | | | | | | | | | | | | The timeout value passed in by UHD would get multiplied by USEC, to convert from the UHD value in seconds to the liberio value in microseconds. The bug manifested itself by calling liberio_dequeue_buf() with a timeout equivalent to 100s. Fixes ed1c64c81 ('transport: Added liberio_zero_copy transport ...') Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Cc: Alex Williams <alex.williams@ni.com> | ||||
* | transport: liberio: Fix indents | Moritz Fischer | 2017-10-05 | 1 | -4/+4 |
| | | | | | | | Remove stray tabs from liberio_zero_copy transport and clarify actual code flow by fixing indent. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | udp: Modify log messages of UDP transport | Martin Braun | 2017-10-04 | 2 | -10/+27 |
| | | | | | - Remove multi-line log message for socket creation - Include local addr and port in trace messages | ||||
* | udp: Added option to query local address of socket | Martin Braun | 2017-10-04 | 2 | -1/+25 |
| | |||||
* | 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. |