|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| 
| 
| 
| | Increases the host's timeout during update_component times, then resets
it to the default RPC timeout after the call is complete.
Reviewed-by: Martin Braun <martin.braun@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| | Adds two device args: discovery_port and rpc_port. Both are integers
which override the respective constants.
Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | By adding measure_rpc_latency, mpmd_impl will run a ping command in a
loop at initialization, and estimate average and maximum RPC command
latency. Note that the ping() RPC call only does an internal logging
call and returns its argument, so it is a very coarse approximation to
how fast RPC latency is.
Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| 
| | - For non-MPM Ethernet devices, mpmd_find would return a fake
  malformed discovery result which would accidentally trigger
  an mpmd_impl::make resulting in unexpected errors
- Fixed mpmd_find to return an empty device_addrs_t object if
  no MPM devices are found | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| | Default is to not serialize inits. | 
| | 
| 
| 
| 
| 
| | Currently, calling these APIs could potentially put the device into bad
state. This will disable the APIs from UHD side and replace them with a
warning if the user's setting did not take effect. | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | MPM will now no longer keep a SID framer variable.
Reviewed-by: Trung Tran <trung.tran@ettus.com>
Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | The mpmd_xport_mgr classes can now return their own MTU. The UDP xport
manager is a special case, it doesn't actually know its MTU, and thus
runs an MTU discovery, using the MPM-ECHO command to discover MTU by
sending variable-size packets as a probing mechanism.
Reviewed-by: Trung Tran <trung.tran@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | - Fixed issue where the "addr" device args was not honored
- Results returned by find only enumerate mgmt_addrs
- Explicitly require addr to be specified for RFNoC comms
- Cleaned up constants for mgmt_addr, addr and second_addr
Reviewed-by: Martin Braun <martin.braun@ettus.com> | 
| | 
| 
| 
| | Reviewed-by: Trung Tran <trung.tran@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | This splits up the transport code in mpmd_impl across multiple classes
to properly leverage the request_xport/commit_xport API in MPM.
Different types of transport (UDP, liberio) use their own distinct
classes, which are generated dynamically on request.
This is a true refactoring despite the large amount of changes; there
are no functional differences.
Reviewed-By: Brent Stapleton <brent.stapleton@ettus.com>
Reviewed-By: Trung Tran <trung.tran@ettus.com>
Reviewed-By: Ashish Chaudhari <ashish.chaudhari@ettus.com> | 
| | 
| 
| 
| | Reviewed-by: Martin Braun <martin.braun@ettus.com> | 
| | 
| 
| 
| | Reviewed-By: Brent Stapleton <brent.stapleton@ettus.com> | 
| | 
| 
| 
| 
| 
| 
| | mpmd_impl was already using this type, fixed conversion from
std::string to std::vector<uint8_t> there too.
Reviewed-By: Brent Stapleton <brent.stapleton@ettus.com> | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | - The MPM function update_component now accepts multiple components to
  be updated in one RPC call.
- Updated the property tree and image loader to match this change.
- Also added DTS loading to the image loader. | 
| | |  | 
| | 
| 
| 
| 
| 
| | mpm_find now filters discovered devices using (if provided in args)
name, serial, type, and product. This method follows the same logic as
the x300 find routine. | 
| | 
| 
| 
| 
| | This commit combines code from various branches to finally enable both
UDP and Liberio transports. | 
| | 
| 
| 
| | Dynamically generates property tree by querying MPM device for a list of updateable components. | 
| | |  | 
| | 
| 
| 
| 
| | The RPC client will now query the MPM server for details when an error
occured. | 
| | 
| 
| 
| | uhd_image_loader now supports type=n310, and loads the FPGA provided in the arguments. | 
| | 
| 
| 
| | The FPGA image, and other components, can now be set from the property tree. The registered function expects a component_file_t, which combines the data file and metadata dictionary. | 
| | 
| 
| 
| | Adding skip_init to the device args makes it so rfnoc blocks, etc. are not initialized. | 
| | 
| 
| 
| 
| 
| | MPMD binds a property for the mboard EEPROM to the appropriate RPC
calls. PeriphManager now provides default implementations for an mboard
EEPROM. | 
| | 
| 
| 
| 
| 
| 
| 
| | An N310 device will query all its dboards for ref lock status and
return a Boolean combination as a motherboard sensors (note: the N310
does not actually have a ref_locked sensor on the motherboard, this is
mostly for backwards-compat with UHD applications that expect a
motherboard ref lock sensor). | 
| | 
| 
| 
| 
| 
| 
| 
| | - Motherboard sensors are automatically populated into the property
  tree, they can be automatically enumerated and queried
- Daughterboard sensors have an API for querying and enumerating
  sensors, but this commit does not automatically add them to the
  property tree | 
| | 
| 
| 
| 
| | - Make DB probe-able
- Add RPC client | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | - Crossbar local addr is now written during initialization of UHD
  session
- Support for multiple crossbars per device (at least on UHD side)
- Crossbars are now sequentially given a unique address | 
| | |  | 
| | 
| 
| 
| | - Extended base periph manager to provide crossbar info | 
| | |  | 
| | |  | 
| | |  |