ofiwg / libfabric

Open Fabric Interfaces
http://libfabric.org/
Other
527 stars 369 forks source link

prov/efa: refactor hmem interface initialization #10129

Open wenduwan opened 1 week ago

wenduwan commented 1 week ago

This patch removes the trial device memory registration with EFA device during domain initialization; instead, we query the sysfs to retrieve the P2P provider information emitted by the kernel module.

As a result, we have to delay the dmabuf support status check to the 1st application fi_mr_reg* call: