FairMQ: Enable ofi/verbs provider

This commit is contained in:
Dennis Klein
2018-03-08 23:21:54 +01:00
committed by Mohammad Al-Turany
parent c113e4c951
commit 811fe50a48
3 changed files with 64 additions and 29 deletions

View File

@@ -563,6 +563,18 @@ bool FairMQChannel::ValidateChannel()
return false;
}
}
else if (address.compare(0, 8, "verbs://") == 0)
{
// check if IPC address is not empty
string addressString = address.substr(9);
if (addressString == "")
{
ss << "INVALID";
LOG(debug) << ss.str();
LOG(error) << "invalid channel address: \"" << address << "\" (empty verbs address?)";
return false;
}
}
else
{
// if neither TCP or IPC is specified, return invalid