Skip to content

Commit

Permalink
prov/efa: Downgrade EFA Endpoint Creation WARN to INFO
Browse files Browse the repository at this point in the history
Customers have been complaining that the FI_WARN log for endpoint
creation is too noisy. Switch the warn to an info.

Signed-off-by: Seth Zegelstein <[email protected]>
  • Loading branch information
a-szegel committed Jan 2, 2024
1 parent 5a6220d commit 56c2aaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prov/efa/src/rdm/efa_rdm_ep_fiops.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void efa_rdm_pke_pool_mr_dereg_handler(struct ofi_bufpool_region *region)

/**
* @brief creates a packet entry pool.
*
*
* The pool is allowed to grow if
* max_cnt is 0 and is fixed size otherwise.
*
Expand Down Expand Up @@ -903,7 +903,7 @@ void efa_rdm_ep_set_extra_info(struct efa_rdm_ep *ep)
* This function will do this cleanup as best effort. When there is failure
* to clean up shm resource, it will still move forward by setting the resource
* pointer to NULL so it won't be used later.
*
*
* @param efa_rdm_ep pointer to efa_rdm_ep.
*/
static void efa_rdm_ep_close_shm_resources(struct efa_rdm_ep *efa_rdm_ep)
Expand Down Expand Up @@ -1050,7 +1050,7 @@ static int efa_rdm_ep_ctrl(struct fid *fid, int command, void *arg)

ep_addr_strlen = sizeof(ep_addr_str);
efa_rdm_ep_raw_addr_str(ep, ep_addr_str, &ep_addr_strlen);
EFA_WARN(FI_LOG_EP_CTRL, "libfabric %s efa endpoint created! address: %s\n",
EFA_INFO(FI_LOG_EP_CTRL, "libfabric %s efa endpoint created! address: %s\n",
fi_tostr("1", FI_TYPE_VERSION), ep_addr_str);

efa_rdm_ep_update_shm(ep);
Expand Down

0 comments on commit 56c2aaf

Please sign in to comment.