aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio_zero_copy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* host: Update code base using clang-tidyMartin Braun2021-03-041-9/+9
| | | | | | | | | The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-1/+1
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-6/+6
| | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct.
* nirio: Fix typo in nirio_zero_copyMichael West2019-07-181-1/+1
| | | | Signed-off-by: Michael West <michael.west@ettus.com>
* lib: transport: apply clang-formatBrent Stapleton2019-01-181-171/+233
| | | | | | | | | | This is a continuation of 967be2a4. $ find host/lib/transport -iname *.hpp -o -iname *.cpp |\ xargs clang-format -i -style=file Skipping host/lib/transport/nirio/ because of build errors. $ git checkout host/lib/transport/nirio
* lib: Purge all references to boost::this_thread::sleep()Martin Braun2018-04-301-4/+5
| | | | Replace with std::this_thread::sleep_for().
* lib: move atomic.hpp and system_time.hpp to uhdlibMartin Braun2018-04-061-1/+1
|
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | 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 Braun2017-12-221-12/+1
|
* transport: nirio_zero_copy: Remove redundant buffer poolsMoritz Fischer2017-10-111-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>
* Merge branch 'maint'Martin Braun2017-05-031-1/+38
|\
| * PCIe: Fix runtime page size acquisition and page size alignment checks for ↵Michael West2017-04-201-1/+38
| | | | | | | | nirio_zero_copy transport.
* | Merge branch 'maint'Martin Braun2017-04-061-0/+23
|\|
| * PCIe: Add checks to make sure buffers are page alighed (requirement ofMichael West2017-04-051-0/+23
| | | | | | | | NI-RIO driver)
* | logging: Demoted a number of DEBUG messages to TRACEMartin Braun2017-04-051-3/+3
| |
* | Merge branch 'maint'Martin Braun2017-03-311-0/+2
|\|
| * NI-RIO: FIFO management optimizations for PCIe performancePatrick Sisterhen2017-03-291-0/+2
| | | | | | | | | | | | | | 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
* | utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-4/+4
|/
* transport: Removed some superfluous variablesMartin Braun2016-11-281-2/+0
|
* Warning fixesNicholas Corgan2015-03-271-7/+9
| | | | | | | * CMake now not applying C++ flags to C files * GCC 4.4: anti-aliasing rules * MSVC: narrowing, differences in subclass function parameters * Clang: uninitialized variables
* nirio: Made new nirio iface code compile with GCCAshish Chaudhari2014-10-101-1/+1
| | | | - Addressed GCC specific errors and warnings
* x300,nirio: Added support for NI-RIO 14.0Ashish Chaudhari2014-10-101-15/+15
| | | | | | | | | - Split niriok_proxy interfaces to support NI-RIO <=13.0 and >=14.0 kernel interfaces - Fixed multi-session race conditions by synchronizing niriok_proxy access - Fixed bug switching from NI LV-FPGA access to UHD access by changing how devices are hashed into a reservation table - Fixed calculation of FRAC values for CBX and SBX LO tuning by rounding instead of truncating - Fixed bug that was not setting two MSBs for band select configuration of CBX LO - Submitting on behalf of Patrick Sisterhen, Matthew Crymble
* x300: Fixed DMA busy logic after review feedback.Ashish Chaudhari2014-04-281-1/+1
|
* x300: Cleanup for PCIe flushingAshish Chaudhari2014-04-241-24/+30
|
* x300: Added hardware flush mechanism to PCIe logic.Ashish Chaudhari2014-04-241-10/+48
| | | | | - Added DMA enabled states to DMA logic to allow for hardware data flushing during init. - niusrprio_session will now check for FPGA busy before downloading
* Fix for BUG #386: RIO & UHD: Flush buffers smartermichael-west2014-03-071-14/+21
| | | | - Updated flush algorithm to acquire and release all elements instead of 1 element at a time
* Merging USRP X300 and X310 support!!Ben Hilburn2014-02-041-0/+352