
Enhancing Interface Compatibility for Seamless Integration
Discover the benefits of incorporating interface sets under a single framework to facilitate the interoperability of objects across different interfaces. Learn how migrating providers and applications from Verbs to Fabric Interfaces opens up new possibilities for data transfers and integration within a unified framework.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
IB Verbs Compatibility Sean Hefty Intel Corporation
(Scalable) Fabric Interfaces Fabric Interfaces Control Interface Message Queue Atomics RDMA Collective Operations Active Messaging Tag CM Services Matching Q: What is implied by incorporating interface sets under a single framework? Objects exist that are usable between the interfaces Isolated interfaces turn the framework into a complex dlopen Interfaces are composable May be used together Cohesive interfaces, not merely a union 2 www.openfabrics.org
Verbs Compatibility Verbs API and data structures supportable through a compatibility mode Verbs objects may be converted to FI objects ibv_qp fid_ep, ibv_cq fid_ec FI objects do not necessarily convert to verbs Provide access to native FI objects Expose fields through ibverbs data structures Allows use of FI APIs Applications migrate to FI to use new features 3 www.openfabrics.org
Migrating Providers from Verbs to FI RDMA Message Queue CM Services FI Providers can integrate into framework with minimal changes libfabric Verbs ibverbs abstraction layer RDMA CM libibverbs Verbs Provider Verbs Provider Providers leverage abstraction layer and RDMA CM capabilities Add optimize data transfers and completion processing calls to avoid translation overhead 4 www.openfabrics.org
Migrating Apps from Verbs to FI Expose verbs interfaces directly from FI Use macros or static inline functions to convert libibverbs exported calls to FI calls Same performance as using libibverbs directly Redefine verb data structures Expose native FI definitions Goal is to support apps with only recompiling 5 www.openfabrics.org
Verbs Compatibility Define fi_ops_ibv Includes prototypes for libibverbs APIs ibv_get_device_list() inline call First call made by any app Maps to fi_open( ibv_devices ) Redefine struct ibv_* for use with libfabric ibv_device, ibv_context, ibv_pd, ibv_mr, ibv_srq, ibv_qp, ibv_cq,ibv_ah, ibv_comp_channel Hide internal fields, reference FI objects 6 www.openfabrics.org
Compatibility RDMA CM handled in a similar fashion More challenging, not a single top-level entry point Need to determine how to handle header files Avoid conflicting with libibverbs and librdmacm headers Could require source change to use new header 7 www.openfabrics.org