[ofiwg] [libfabric-users] How to obtain MTU and link speed with prov/psm2

Hefty, Sean sean.hefty at intel.com
Tue Aug 27 14:47:51 PDT 2019


> The `nic_fid` field in my `struct fi_info` is NULL. I am using the unreliable datagram
> communication and I need the MTU and link speed of the underlying NIC to decide how
> much data to put in each datagram and to perform rate limiting.

You will want to use the max_msg_size from the fi_ep_attr for the size of the message.

AFAIK, the psm2 provider always uses reliable datagram transfers, even if unreliable transfers are requested.

- Sean


More information about the ofiwg mailing list