Skip to content

Commit 8d0a592

Browse files
committed
usnic: update a few verbose reachability messages
1 parent 87dbe6c commit 8d0a592

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

opal/mca/btl/usnic/btl_usnic_module.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ static int add_procs_block_create_endpoints(opal_btl_usnic_module_t *module,
139139
&usnic_endpoint);
140140
if (OPAL_SUCCESS != rc) {
141141
opal_output_verbose(5, USNIC_OUT,
142-
"btl:usnic:%s: unable to create endpoint for module=%p proc=%p\n",
143-
__func__, (void *)module, (void *)usnic_proc);
142+
"btl:usnic:add_procs:%s: unable to create endpoint to peer %s on %s",
143+
module->fabric_info->fabric_attr->name,
144+
usnic_compat_proc_name_print(&opal_proc->proc_name),
145+
opal_get_proc_hostname(opal_proc));
144146
OBJ_RELEASE(usnic_proc);
145147
continue;
146148
}
@@ -156,7 +158,8 @@ static int add_procs_block_create_endpoints(opal_btl_usnic_module_t *module,
156158
modex->netmask);
157159

158160
opal_output_verbose(5, USNIC_OUT,
159-
"btl:usnic: new usnic peer endpoint: %s, proirity port %d, data port %d",
161+
"btl:usnic:add_procs:%s: new usnic peer endpoint: %s, proirity port %d, data port %d",
162+
module->fabric_info->fabric_attr->name,
160163
str,
161164
modex->ports[USNIC_PRIORITY_CHANNEL],
162165
modex->ports[USNIC_DATA_CHANNEL]);

0 commit comments

Comments
 (0)