Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uhd-dpdk: Add DPDK-based sockets-like library | Alex Williams | 2018-08-29 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This library makes available a userspace network stack with a socket-like interface for applications (except the sockets pass around pointers to buffers and use the buffers directly--It's sockets + a put/get for buffer management). Supported services are ARP and UDP. Destinations can be unicast or broadcast. Multicast is not currently supported. The implementation has two driver layers. The upper layer runs within the caller's context. The caller will make requests through lockless ring buffers (including socket creation and packet transmission), and the lower layer will implement the requests and provide a response. Currently, the lower layer runs in a separate I/O thread, and the caller will block until it receives a response. The I/O thread's main body is in src/uhd_dpdk_driver.c. You'll find that all I/O thread functions are prefixed by an underscore, and user thread functions do not. src/uhd_dpdk.c is used to initialize uhd-dpdk and bring up the network interfaces. src/uhd_dpdk_fops.c and src/uhd_dpdk_udp.c are for network services. The test is a benchmark of a flow control loop using a certain made-up protocol with credits and sequence number tracking. | ||||
* | Device3: Change packet-based flow control to byte-based flow control | Martin Braun | 2018-07-25 | 1 | -0/+1 |
| | |||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 1 | -0/+1 |
| | | | | | | | 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 | 1 | -12/+1 |
| | |||||
* | transport: Added liberio_zero_copy transport implementation | Moritz Fischer | 2017-08-07 | 1 | -0/+10 |
| | | | | | | | | | | | | 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> | ||||
* | Added class to add flow control to any zero_copy_if interface. | michael-west | 2017-04-05 | 1 | -0/+1 |
| | |||||
* | usrp3: Added SW muxer/demuxer for the zero_copy interface | Ashish Chaudhari | 2016-07-29 | 1 | -0/+1 |
| | | | | | | | - 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 | ||||
* | transport optimize: Added a thread transport offload to share the workload | Paul David | 2016-04-18 | 1 | -0/+1 |
| | |||||
* | cmake: Cleaned up output, removed duplicate OctoClock component registration | Martin Braun | 2015-11-17 | 1 | -0/+1 |
| | |||||
* | cmake: Register components earlier | Martin Braun | 2015-11-16 | 1 | -5/+0 |
| | | | | | | | | | | All device-specific CMake components are now registered in one place, before the host/lib/ subdirs are sourced. This way, there are no cyclic dependencies. This solves the issue where ENABLE_X300=Off could disable USB, but preserves the fix where ENABLE_X300=Off would still build some X300 codes. | ||||
* | cmake: Proper selection of files for ENABLE_X300 | Martin Braun | 2015-10-26 | 1 | -2/+9 |
| | |||||
* | cmake: added variable to LIBUHD_REGISTER_COMPONENT macro to make required, ↵ | Nicholas Corgan | 2015-08-11 | 1 | -2/+2 |
| | | | | | | set LibUHD to required * If required component's dependencies aren't met, CMake will throw an error unless user specifically disables it | ||||
* | transport: Made CHDR-related routines separate from VRT | Martin Braun | 2014-12-03 | 1 | -0/+1 |
| | | | | | | 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. | ||||
* | Merging USRP X300 and X310 support!! | Ben Hilburn | 2014-02-04 | 1 | -0/+16 |
| | |||||
* | b100: moved usb wrapper class into b100 impl | Josh Blum | 2013-07-19 | 1 | -2/+1 |
| | | | | * since its only used internally in b100 | ||||
* | usb: check for and use libusb_handle_events_timeout_completed | Josh Blum | 2013-03-11 | 1 | -0/+4 |
| | |||||
* | udp: also set HAVE_ATLBASE_H for udp_wsa_zero_copy | Josh Blum | 2012-04-26 | 1 | -0/+1 |
| | |||||
* | uhd: squashed transport work | Josh Blum | 2012-04-23 | 1 | -1/+5 |
| | |||||
* | uhd: make atlbase options for msvc build | Josh Blum | 2012-03-14 | 1 | -0/+11 |
| | |||||
* | usb: updated FindUSB1.cmake for standards compliance | Josh Blum | 2012-01-09 | 1 | -1/+1 |
| | | | | | Using cmake's recommended conventions for find scripts. Find script also handles different library name for freebsd. | ||||
* | uhd: removed WSA UDP transport implementation | Josh Blum | 2011-09-01 | 1 | -5/+1 |
| | | | | | | Once the send buffer size is increased, there appears to be no performance advantage. I would rather not have extra implementations. | ||||
* | udp: only build WSA transport for MSVC (not supported on mingw for example) | Josh Blum | 2011-08-11 | 1 | -1/+1 |
| | |||||
* | udp: squashed the wsa work and added documentation work | Josh Blum | 2011-07-17 | 1 | -1/+9 |
| | |||||
* | b100: added b100 host (squashed) | Josh Blum | 2011-06-14 | 1 | -0/+1 |
| | |||||
* | uhd: removed vrt packet handler code | Josh Blum | 2011-06-14 | 1 | -1/+0 |
| | |||||
* | uhd: always link winsock2 on windows, disable pthread SCHED_RR for cygwin | Josh Blum | 2011-04-06 | 1 | -1/+3 |
| | |||||
* | uhd: tweaks for cygwin/mingw, always link winsock2, findusb1, __USE_W32_SOCKETS | Josh Blum | 2011-04-05 | 1 | -0/+4 |
| | |||||
* | usb: newer libusb1 does not need to link with setupapi.lib | Josh Blum | 2011-04-04 | 1 | -4/+0 |
| | |||||
* | uhd: specify msvc for implementations known only to work on msvc | Josh Blum | 2011-04-04 | 1 | -2/+2 |
| | |||||
* | usb: changes to allow for static linking of libusb on windows | Josh Blum | 2011-03-28 | 1 | -0/+4 |
| | |||||
* | uhd: replace header checks in cmake files with more robust compile checks ↵ | Josh Blum | 2011-02-21 | 1 | -7/+18 |
| | | | | | | for features implemented different ifdefs in the cpp files | ||||
* | udp: update docs for transport, create common header for wait implementation | Josh Blum | 2011-02-20 | 1 | -1/+1 |
| | | | | | | | Reimplemented simple udp transport with one impl class. Moved wait for ready/select implementation into common header. Important note on select, timeval should have usecs < 1 second or it may error on some platforms. Fixed in this implementation. | ||||
* | uhd: use source properties to set flags and defs not globally, but only for ↵ | Josh Blum | 2011-02-17 | 1 | -2/+7 |
| | | | | the source | ||||
* | usrp-e100: replaced safe managed buffers in usrp-e100 mmap with custom ones | Josh Blum | 2011-02-15 | 1 | -1/+0 |
| | | | | | | | | the buffers are reusable and the overhead is reduced (nothing to malloc) also removed the zero_copy.cpp (not needed anymore) need to test on device... | ||||
* | uhd: add msvc stdint.h so we can use stdints typedefs normally like, fix in ↵ | Josh Blum | 2011-01-11 | 1 | -3/+0 |
| | | | | fw_common.h | ||||
* | uhd: update copyright dates | Josh Blum | 2011-01-05 | 1 | -1/+1 |
| | |||||
* | uhd: removed convert types, replaced by convert | Josh Blum | 2011-01-04 | 1 | -34/+0 |
| | |||||
* | uhd: removed REQUIRED from find package calls to libusb and docutils | Josh Blum | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | uhd: created buffer pool to allocate aligned memory, and implemented in ↵ | Josh Blum | 2011-01-03 | 1 | -0/+1 |
| | | | | transports | ||||
* | uhd: create a find packages module for docutils, cleaned up some of the ↵ | Josh Blum | 2011-01-02 | 1 | -1/+2 |
| | | | | other find package stuff | ||||
* | cmake: moved module files into modules directory, set modules path | Josh Blum | 2010-12-27 | 1 | -2/+1 |
| | |||||
* | uhd: use the include subdir macro to simplify the lib subdirs cmakelists | Josh Blum | 2010-12-20 | 1 | -20/+22 |
| | |||||
* | uhd: implemented top-level component registry | Josh Blum | 2010-12-20 | 1 | -8/+5 |
| | | | | now docs, examples, utils, usb, are configurable components with dependencies | ||||
* | uhd: tweak configuring usb messages | Josh Blum | 2010-11-30 | 1 | -6/+5 |
| | |||||
* | uhd: set the HAVE_USB_SUPPORT FALSE when not found (fixes error) | Josh Blum | 2010-11-30 | 1 | -0/+1 |
| | |||||
* | uhd: added macro to enable/disable components | Josh Blum | 2010-11-29 | 1 | -0/+3 |
| | | | | | | libuhd prints summary of components added newline prints before config checks | ||||
* | Merge branch 'next' into usrp_e_mmap_b2 | Josh Blum | 2010-10-07 | 1 | -1/+3 |
|\ | |||||
| * | usb: added dummy usb implementation for building without usb (throw, not ↵ | Josh Blum | 2010-10-04 | 1 | -1/+3 |
| | | | | | | | | segfault) | ||||
* | | Merge branch 'timeout' into usrp_e_mmap | Josh Blum | 2010-10-04 | 1 | -0/+2 |
|\| | |||||
| * | uhd: implemented udp zero copy asio with async calls | Josh Blum | 2010-10-03 | 1 | -1/+1 |
| | |