aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* mpmd,transport,prefs: Add xport_mgr for dpdk_zero_copyAlex Williams2019-01-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Add configuration sections to the UHD config file for NIC entries. Keys are based on MAC addresses, and the entries beneath the section describe which CPU and I/O thread to use for the NIC and its IPv4 address. Make ring sizes configurable for uhd-dpdk. Ring size is now an argument for packet buffers. Note that the maximum number of available buffers is still determined at init! Add ability to receive broadcasts to uhd-dpdk. This is controllable by a boolean in the sockarg during socket creation. dpdk_zero_copy will filter broadcast packets out. Add dpdk_simple transport (to mirror udp_simple). This transport allows receiving from broadcast addresses, but it only permits one outstanding buffer at a time. Fix IP checksum handling in UHD-DPDK. TX checksums were not being calculated in the NIC, and in RX, the check for IP checksums allowed values of zero (reported as none). Now packets with bad IP checksums will be dropped.
* tests: Add unit test for DPDK transportAlex Williams2019-01-151-0/+14
| | | | | | | | | This commit adds a loopback benchmark for a PC with 2 DPDK-compatible NIC ports that are connected together via a cable. It sends messages with embedded sequence numbers (outgoing and last-seen) for maintaining a flow control window of packets in flight. It tracks the number of bytes sent/received and reports the time the test took and average throughput.
* tests: Add benchmark of streaming code pathsCiro Nishiguchi2019-01-101-0/+13
| | | | | Add a benchmark of packet handlers and device3 flow control. Benchmarks use mock transport objects.
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-39/+39
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* tests: device3_test: add graph impl testTrung Tran2018-10-311-2/+10
|
* Test: Add unit test for eeprom_utilsmichael-west2018-10-251-0/+1
|
* soft_register: Remove compiler warning, add unit testMartin Braun2018-07-111-1/+2
|
* lib: Add path_expandvars() internal API callMartin Braun2018-02-201-0/+23
|
* uhd: Update license headersMartin Braun2018-02-191-0/+1
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* lib: Add config_parser classMartin Braun2018-02-011-0/+13
| | | | | | | This class is not publicly exported. It is meant to read config files in the INI format. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* uhdlib: Update constrained_device_args_tMartin Braun2018-01-181-0/+3
| | | | | | | - Allow enums to be non-consecutive - Move to uhdlib/ - Add unit tests - Updated N230 use of constrained_device_args_t
* uhd: Add narrow_cast and narrowMartin Braun2018-01-121-0/+1
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* types: sensor_value_t can now be created from mapMartin Braun2017-12-221-0/+1
| | | | - Adds unit tests for sensor_value_t also
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* uhd: tasks now use std::threads under the hood, and can't be interruptedMartin Braun2017-06-281-0/+1
| | | | | USRP1 and USRP2 used tasks that relied on Boost thread interruption mechanisms. These were replaced with explicit atomics.
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-1/+1
|
* calibration: generic containers for datasetsPaul David2016-11-291-0/+1
| | | | | | - Includes a container for power calibration data - Unit tests to check underlying container functionality - Nearest neighbor and bilinear interpolation
* Merging RFNoC support for X310Martin Braun2016-08-091-0/+43
|
* usrp: Added fe_connection type and unit testAshish Chaudhari2016-03-211-0/+1
| | | | | - Wraps a sampling mode and IF frequency - Built-in parser to deduce swap,invert,mode bits from string connection
* uhd: Added expert dependency tracking infrastructureAshish Chaudhari2016-02-121-0/+1
| | | | | | | - Code location uhd/lib/experts - expert_nodes.hpp contains all node definitions: data and worker - expert_container.hpp contains the memory manager and resolver for expert nodes - expert_factory contains the initializer and modifier for expert_container
* tests: Added first batch of device testsMartin Braun2015-10-071-0/+2
| | | | | - Currently supported: B2xx, X3x0 - Runs some simple examples
* Remove CMake 3.0+ warningsNicholas Corgan2015-08-131-3/+0
|
* C API cleanup, feature additionsNicholas Corgan2015-08-121-2/+2
| | | | | | * Cleaned up usage of handles vs. handle pointers * Store global string for last error thrown * Removed uhd::device_addr_t handle, added std::vector<std::string> handle
* C API: feature additions, bugfixesNicholas Corgan2015-08-071-0/+1
| | | | | | * Wrapped uhd::device_addrs_t, added find functions for multi_usrp, multi_usrp_clock * Replaced getopt with public domain implementation * Minor bugfixes
* uhd: C API wrapperNicholas Corgan2015-08-061-0/+10
| | | | | | | * multi_usrp, multi_usrp_clock, and associated classes accessible through C * Added Doxygen documentation explaining structure and API * Simple RX and TX streaming examples * Unit tests for different parts of C interface and C++ error conversion
* cmake: MinGW improvementsNicholas Corgan2015-07-231-5/+1
| | | | | | * Improved toolchan file, accounts for different versions * Don't force static runtime linking (was causing test errors) * Include MinGW runtime in packaging
* Added support for MinGW cross-compileNicholas Corgan2015-01-131-2/+6
| | | | | | * Added CMake toolchain file, compatible with different versions * No dependency on MinGW runtime, all statically linked * Misc coding tweaks to allow MinGW to compile
* transport: Made CHDR-related routines separate from VRTMartin Braun2014-12-031-1/+2
| | | | | | Our VRT routines have the option to switch, on the fly, between VRLP and CHDR. This adds new CHDR-specific (un-)packers, which can only work with CHDR.
* math: Added a portable log2()Martin Braun2014-11-201-0/+1
|
* uhd: Added sid_tMartin Braun2014-10-281-0/+1
| | | | | | | This is a data type to represent SIDs (stream IDs). It includes setters and getters for all components of the SID, converters to and from string and uint32 as well as C++ streams.
* math: Added a new uhd::math namespace + float comparison routinesBen Hilburn2014-10-071-0/+2
| | | | | * Float comparison is applied to tuning logic in DSP cores. * Properly using INT_MAX/MIN constants, defined in utils/math.hpp
* uhd: Added a cast routine from hex string -> anythingMartin Braun2014-04-101-0/+1
|
* Merge branch 'maint'Nicholas Corgan2013-05-101-0/+1
|\ | | | | | | | | Conflicts: host/tests/CMakeLists.txt
| * Added CMake variables to customize builds to match Debian package configurationsNicholas Corgan2013-05-101-1/+1
| | | | | | | | | | | | * -DLIBUHD_PKG=ON installs with libuhd003 configuration * -DLIBUHDDEV_PKG=ON installs with libuhd-dev configuration * -DUHDHOST_PKG=ON installs with uhd-host configuration
* | uhd: unit tests generate script w/ env pathsJosh Blum2012-10-291-1/+9
| |
* | uhd: removed installation of unit test filesJosh Blum2012-10-291-2/+1
|/
* uhd: patch to support PKG_LIB_DIR per debian fs standardsJosh Blum2012-01-131-1/+1
| | | | | | uhd binaries will continue to install into share/uhd, however, one can specify -DPKG_LIB_DIR=lib/uhd for example to move where the binaries are installed
* uhd: restored super packet handler functionalityJosh Blum2011-11-031-2/+2
|
* convert: restored unit test functionalityJosh Blum2011-11-031-2/+2
|
* uhd: moved wax API into deprecated filesJosh Blum2011-11-031-1/+0
|
* usrp: deleted a bunch on obsoleted files in usrp directoryJosh Blum2011-06-291-1/+0
|
* uhd: work on templated property classJosh Blum2011-06-251-0/+1
|
* uhd: supper packet handler support squashedJosh Blum2011-06-141-0/+2
|
* uhd: replaced warning post with calls to UHD_MSG(warning)Josh Blum2011-05-041-1/+1
| | | | | The message api can support warnings, error, and status messages. The default handler is to stdio, but the user can change this.
* uhd: a few minor changes to get uhd building under mingw or cygwinJosh Blum2011-04-041-2/+4
|
* uhd: setup cpack components for component based installersJosh Blum2011-03-211-5/+1
|
* uhd: renamed test directory to tests to be consitentJosh Blum2011-01-141-0/+58