ofiwg / libfabric

Open Fabric Interfaces

Home Page:http://libfabric.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prov/efa: rx_entry allocation failure handling in rxr_pkt_handle_longcts_rtw_recv()

gestionlin opened this issue · comments

Discussed in #7919

Originally posted by gestionlin August 3, 2022
Hi, I am studying the implemtation of efa_rdm_protocol_v4 in efa provider. I have some question below:
When a requestor send a LONGCTS_RTR packet to a responder, the responder will try to allocate a rx_entry according to the LONGCTS_RTR packet, but the allocation of rx_entry may fail, the handling of the failure seems to log a error and report an eq error to this upper layer? see rxr_pkt_handle_longcts_rtw_recv(). And the requestor is not notified of the error, it seems the tx_entry for the LONGCTS_RTR in the requestor will be stuck untill the EP is freed?

Thanks.

Not sure where the discussion we had yesterday went.

You are right, in case rx_entry cannot be allocated. The requester will stuck

Not sure where the discussion we had yesterday went.

#7919

I created the issue out of the above discussion, sorry for the confusion.

This issue is stale because it has been open 360 days with no activity. Remove stale label or comment, otherwise it will be closed in 7 days.