mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
mpmd: support four links
This commit is contained in:
parent
ca21048bd2
commit
4f64b54e21
@ -94,6 +94,12 @@ std::vector<std::string> get_addrs_from_mb_args(const uhd::device_addr_t& mb_arg
|
||||
if (mb_args.has_key(SECOND_ADDR_KEY)) {
|
||||
addrs.push_back(mb_args[SECOND_ADDR_KEY]);
|
||||
}
|
||||
if (mb_args.has_key(THIRD_ADDR_KEY)) {
|
||||
addrs.push_back(mb_args[THIRD_ADDR_KEY]);
|
||||
}
|
||||
if (mb_args.has_key(FOURTH_ADDR_KEY)) {
|
||||
addrs.push_back(mb_args[FOURTH_ADDR_KEY]);
|
||||
}
|
||||
}
|
||||
if(addrs.empty()) {
|
||||
if (!link_info_list.empty()) {
|
||||
|
||||
@ -28,6 +28,10 @@ namespace uhd { namespace mpmd { namespace xport {
|
||||
const std::string FIRST_ADDR_KEY = "addr";
|
||||
//! Secondary Ethernet address for streaming and RFNoC communication
|
||||
const std::string SECOND_ADDR_KEY = "second_addr";
|
||||
//! Tertiary Ethernet address for streaming and RFNoC communication
|
||||
const std::string THIRD_ADDR_KEY = "third_addr";
|
||||
//! Quaternary Ethernet address for streaming and RFNoC communication
|
||||
const std::string FOURTH_ADDR_KEY = "fourth_addr";
|
||||
|
||||
/*! Return filtered subset from a device_addr_t
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user