@@ -186,9 +186,9 @@ opal_common_ucx_wpool_init(opal_common_ucx_wpool_t *wpool,
186
186
rc = OPAL_ERROR ;
187
187
goto err_worker_create ;
188
188
}
189
- wpool -> recv_worker = winfo -> worker ;
189
+ wpool -> dflt_worker = winfo -> worker ;
190
190
191
- status = ucp_worker_get_address (wpool -> recv_worker ,
191
+ status = ucp_worker_get_address (wpool -> dflt_worker ,
192
192
& wpool -> recv_waddr , & wpool -> recv_waddr_len );
193
193
if (status != UCS_OK ) {
194
194
MCA_COMMON_UCX_VERBOSE (1 , "ucp_worker_get_address failed: %d" , status );
@@ -208,8 +208,8 @@ opal_common_ucx_wpool_init(opal_common_ucx_wpool_t *wpool,
208
208
err_wpool_add :
209
209
free (wpool -> recv_waddr );
210
210
err_get_addr :
211
- if (NULL != wpool -> recv_worker ) {
212
- ucp_worker_destroy (wpool -> recv_worker );
211
+ if (NULL != wpool -> dflt_worker ) {
212
+ ucp_worker_destroy (wpool -> dflt_worker );
213
213
}
214
214
err_worker_create :
215
215
ucp_cleanup (wpool -> ucp_ctx );
@@ -241,7 +241,7 @@ void opal_common_ucx_wpool_finalize(opal_common_ucx_wpool_t *wpool)
241
241
242
242
/* Release the address here. recv worker will be released
243
243
* below along with other idle workers */
244
- ucp_worker_release_address (wpool -> recv_worker , wpool -> recv_waddr );
244
+ ucp_worker_release_address (wpool -> dflt_worker , wpool -> recv_waddr );
245
245
246
246
/* Go over the list, free idle list items */
247
247
if (!opal_list_is_empty (& wpool -> idle_workers )) {
0 commit comments