Skip to content

Commit

Permalink
prov/efa: Adjust log level for shm disabling.
Browse files Browse the repository at this point in the history
Disabling shm via fi_setopt shouldn't be a warning.
Move the logging to info level.

Signed-off-by: Shi Jin <sjina@amazon.com>
  • Loading branch information
shijin-aws committed Sep 10, 2024
1 parent 036e2dd commit 58db0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/efa/src/rdm/efa_rdm_ep_fiops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ static int efa_rdm_ep_set_cuda_api_permitted(struct efa_rdm_ep *ep, bool cuda_ap
static int efa_rdm_ep_set_shared_memory_permitted(struct efa_rdm_ep *ep, bool shm_permitted)
{
if (!shm_permitted) {
EFA_WARN(FI_LOG_EP_CTRL,
EFA_INFO(FI_LOG_EP_CTRL,
"FI_OPT_SHARED_MEMORY_PERMITTED set to false\n");
ep->shm_permitted = false;
return FI_SUCCESS;
Expand Down

0 comments on commit 58db0cd

Please sign in to comment.