Skip to content

Commit

Permalink
prov/efa: Adjust the logging for pke exhaustion
Browse files Browse the repository at this point in the history
In efa_rdm_ep_post_handshake, the pke exhaustion shouldn't
be a warning as it is normal for a stressful receiver and
should be handled by EAGAIN / flow control

Signed-off-by: Shi Jin <sjina@amazon.com>
  • Loading branch information
shijin-aws committed Aug 13, 2024
1 parent 2abe00b commit c81ea70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/efa/src/rdm/efa_rdm_ep_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ ssize_t efa_rdm_ep_post_handshake(struct efa_rdm_ep *ep, struct efa_rdm_peer *pe

pkt_entry = efa_rdm_pke_alloc(ep, ep->efa_tx_pkt_pool, EFA_RDM_PKE_FROM_EFA_TX_POOL);
if (OFI_UNLIKELY(!pkt_entry)) {
EFA_WARN(FI_LOG_EP_CTRL, "PKE entries exhausted.\n");
EFA_DBG(FI_LOG_EP_CTRL, "PKE entries exhausted for posting handshake.\n");
efa_rdm_txe_release(txe);
return -FI_EAGAIN;
}
Expand Down

0 comments on commit c81ea70

Please sign in to comment.