diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2017-12-20 11:44:12 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:06:03 -0800 |
commit | 6af41376c18c62ca7bfe8cccdd6564922d3fdd6a (patch) | |
tree | 9a7fa7c759bdf9feefc0a4a20e18c7fbf8486607 /host/lib/usrp/mpmd/mpmd_xport_mgr.hpp | |
parent | 2a83c6133f5541e6ffed34681cd6e8f5ff90fe76 (diff) | |
download | uhd-6af41376c18c62ca7bfe8cccdd6564922d3fdd6a.tar.gz uhd-6af41376c18c62ca7bfe8cccdd6564922d3fdd6a.tar.bz2 uhd-6af41376c18c62ca7bfe8cccdd6564922d3fdd6a.zip |
mpmd: Device discovery fixes and cleanup
- 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>
Diffstat (limited to 'host/lib/usrp/mpmd/mpmd_xport_mgr.hpp')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_xport_mgr.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp b/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp index 2da4af323..cdb082111 100644 --- a/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp +++ b/host/lib/usrp/mpmd/mpmd_xport_mgr.hpp @@ -16,6 +16,17 @@ namespace uhd { namespace mpmd { namespace xport { +/* + * Transport specifiers + */ + +//! Ethernet address for management and RPC communication +const std::string MGMT_ADDR_KEY = "mgmt_addr"; +//! Primary Ethernet address for streaming and RFNoC communication +const std::string FIRST_ADDR_KEY = "addr"; +//! Secondary Ethernet address for streaming and RFNoC communication +const std::string SECOND_ADDR_KEY = "second_addr"; + /*! Return filtered subset from a device_addr_t * * The return dictionary will contain all key/value pairs from \p args |