[libfabric-users] FI_INJECT and fi_sendmsg
Niyaz Murshed
Niyaz.Murshed at arm.com
Fri Aug 16 10:19:11 PDT 2024
My understand is that application need to make sure that we use inject API only if message < inject Size ( as it is done in fi_rma_bw sample).
In case of error, I would assume the below is the error.
-FI_EAGAIN
Indicates that the underlying provider currently lacks the resources needed to initiate the requested operation. This may be the result of insufficient internal buffering, in the case of FI_INJECT, or processing queues are full.
I am still new to libfabric, might be wrong… Hope someone can correct me if I am.
From: Libfabric-users <libfabric-users-bounces at lists.openfabrics.org> on behalf of Hartman, John <john.hartman at hpe.com>
Date: Friday, August 16, 2024 at 12:01 PM
To: libfabric-users at lists.openfabrics.org <Libfabric-users at lists.openfabrics.org>
Subject: [libfabric-users] FI_INJECT and fi_sendmsg
Regarding the FI_INJECT flag, the fi_sendmsg man page says “This flag can only be used with messages smaller than inject_size.” What is the behavior if the message is larger than inject_size? Is the flag ignored, or is an error returned (and if so, which error)?
Also, the fi_sendmsg man page says “messages smaller than inject_size” whereas the fi_endpoint man page says that inject_size is “the maximum size data transfer that can be associated with an inject operation”. Which is correct, should the message be < inject_size or <= inject_size?
I’m looking at the v1.22.0 man pages.
Thanks
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20240816/f9b30594/attachment-0001.htm>
More information about the Libfabric-users
mailing list