[libfabric-users] Strange error on fi_eq_sread

Ilango, Arun arun.ilango at intel.com
Tue Sep 6 12:21:23 PDT 2016

I’m assuming you meant fi_eq_sread returns -FI_EAVAIL. The fi_eq_strerror returns the error string for provider (ibverbs/rdmacm) specific error. It is not set by libfabric. I think it’s probably set by the kernel space code of rdmacm/ibverbs. Did you check the value in err_entry.err ? That could give clues as to what rdmacm error event was received.


From: Libfabric-users [mailto:libfabric-users-bounces at lists.openfabrics.org] On Behalf Of Valentino Picotti
Sent: Tuesday, September 06, 2016 8:00 AM
To: libfabric-users at lists.openfabrics.org
Subject: [libfabric-users] Strange error on fi_eq_sread


I'm using lib fabric with the verbs provider.
In my program i make a call to fi_eq_sread waiting for a FI_CONNECTED event, after a successful fi_connect.
fi_cq_sread returns -FI_EAVAIL and printing the err_entry results in a Exec format error.
I dived into to libfabric verbs and rdma source code, but nothing sets such errno.

Here are the links to the source code:
- Eq initialisation<https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L95>
- Read<https://github.com/manzali/lseb/blob/picotti/transport/libfabric/shared.cpp#L16> that returns an error
- Call<https://github.com/manzali/lseb/blob/picotti/transport/libfabric/connector.cpp#L69> to the read

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20160906/618ede9a/attachment.html>

More information about the Libfabric-users mailing list