[libfabric-users] Interaction between FI_OPT_MIN_MULTI_RECV and recv

Hefty, Sean sean.hefty at intel.com
Wed Mar 23 12:59:12 PDT 2022


> Does anyone know what should happen when you try to recv with a
> MULTI_RECV buffer whose length is less than FI_OPT_MIN_MULTI_RECV ?
> Should the provider generate an event immediately releasing the buffer
> or should this only happen after the first message received ?

I think this is up to your implementation, so I'd do whatever is convenient.  It's really a silly situation that the app is putting itself in.  You could fail the recv call if you wanted to insert a check there.

- Sean 


More information about the Libfabric-users mailing list