message: Prefer core providers to utility providers for libfabric DP
diff: @@ -140,8 +140,11 @@ static void init_fabric(struct fabric_state *fabric, struct _SstParams *Params)
  useinfo = info;
  break;
  }
  - if ((strstr(prov_name, "verbs") && info->src_addr) ||
  - strstr(prov_name, "gni") || strstr(prov_name, "psm2") || !useinfo)
  + if ((((strcmp(prov_name, "verbs") == 0) && info->src_addr) || (strcmp(prov_name, "verbs") == 0) || (strcmp(prov_name, "psm2") == 0)) && (!useinfo || !ifname || (strcmp(useinfo->domain_attr->name, ifname) != 0))) {
  + useinfo = info;
  + }
  + else if (((strstr(prov_name, "verbs") && info->src_addr) ||
  + strstr(prov_name, "gni") || strstr(prov_name, "psm2")) && !useinfo)
  {
  useinfo = info;
  }
  