aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
Commit message (Collapse)AuthorAgeFilesLines
* utils: add set_thread_name API call, move thread_priority to threadAndrej Rode2017-06-292-0/+3
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-292-4/+3
|
* x300: Added location info to FW ctrl error messagesAshish Chaudhari2017-06-151-0/+4
|
* Merge branch 'maint'Martin Braun2017-05-032-171/+79
|\
| * PCIe: Fix runtime page size acquisition and page size alignment checks for ↵Michael West2017-04-201-1/+38
| | | | | | | | nirio_zero_copy transport.
| * Revert commit e348353c4f5acef6a5ece11e9c336df4c15d65e1.Michael West2017-04-201-170/+41
| | | | | | | | | | Worker threads significantly increased CPU load and did not increase performance as expected.
* | add windows get_local_port()Andrej Rode2017-04-141-0/+10
| |
* | transports: Added get_local_port() method to UDP transportsAndrej Rode2017-04-141-0/+1
| |
* | logging: remove unecessery newlines in log messagesAndrej Rode2017-04-071-1/+1
| |
* | transport: Fix some nullptr vs NULL vs 0Martin Braun2017-04-061-2/+2
| | | | | | | | This affects some versions of Clang when using C++11 features.
* | transport: Fixed UHD logging post-mergeMartin Braun2017-04-061-2/+1
| |
* | Merge branch 'maint'Martin Braun2017-04-064-41/+421
|\|
| * Implement worker threads to offload conversion of data and transport I/OMichael West2017-04-051-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 ofMichael West2017-04-051-0/+23
| | | | | | | | NI-RIO driver)
| * Added class to add flow control to any zero_copy_if interface.michael-west2017-04-052-0/+228
| |
* | logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-057-13/+13
| |
* | Merge branch 'maint'Martin Braun2017-03-312-7/+9
|\|
| * NI-RIO: FIFO management optimizations for PCIe performancePatrick Sisterhen2017-03-292-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 Braun2017-03-242-8/+11
|\|
| * UDP: Set default socket buffer size to number of frames * 9000 (maximum ↵michael-west2017-03-212-8/+11
| | | | | | | | Ethernet MTU)
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-2012-56/+56
| |
* | uhd: Replace NULL with nullptr in if_addrs and super_recv_packet_handlerAndrej Rode2017-02-202-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 selectPaul David2017-02-131-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 loopAndrej Rode2017-02-104-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_ifMartin Braun2016-11-281-2/+2
|
* transport: Removed some superfluous variablesMartin Braun2016-11-283-8/+6
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-0814-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-west2016-11-081-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 windowsPaul David2016-10-261-6/+6
|
* transport: Removed conditional compiles for terminator APIsMartin Braun2016-09-052-14/+2
|
* Merge branch 'UHD-3.9.LTS' into maintMartin Braun2016-09-021-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 charactersmichael-west2016-09-021-4/+1
| |
| * GPSDO: Make sure read_uart() returns only complete strings for all devices.michael-west2016-09-021-3/+11
| |
| * transport: Also send flow control ACKs on sequence errorsMartin Braun2016-03-161-0/+6
| |
* | Merging RFNoC support for X310Martin Braun2016-08-092-13/+90
| |
* | usb: usb_dummy made to match usb_control and usb_zero_copyMartin Braun2016-08-021-2/+10
| |
* | usb: tweak types for consistency between LIBUSB API calls and internal UHD ↵Michael Dickens2016-08-012-8/+8
| | | | | | | | usage of returned values.
* | usb: add virtual destructors where needed; make virtual destructors ↵Michael Dickens2016-08-014-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 Dickens2016-08-012-11/+11
| | | | | | | | char' to match the libusb API.
* | usb: fix 'timeout' variables to be unsigned since that is what the ↵Michael Dickens2016-08-011-1/+1
| | | | | | | | 'libusb_control_transfer' API uses.
* | usb: fix 'submit' to return 'int' since that is what ↵Michael Dickens2016-08-011-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 David2016-08-012-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 interfaceAshish Chaudhari2016-07-292-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_hadlermichael-west2016-07-221-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 David2016-06-081-22/+13
| | | | | | | | super_send_packet_handler
* | transport: Removing task barrier for conversion calls in the ↵Paul David2016-06-081-23/+12
| | | | | | | | super_recv_packet_handler
* | transport optimize: Added a thread transport offload to share the workloadPaul David2016-04-182-0/+159
| |
* | Updated code to work for new minimum dependenciesNicholas Corgan2016-03-211-22/+2
| | | | | | | | | | * Removed code referencing now-unsupported versions of Boost * Added <stdint.h> includes where needed
* | transport: Also send flow control ACKs on sequence errorsMartin Braun2016-03-211-0/+6
| |
* | Merge branch 'maint'Martin Braun2016-03-111-2/+2
|\|