Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/verbs: fi_getinfo() returns fi_sockaddr_ib interfaces.
This is the final patch of the series that adds the support of GID-base connection establishment. The Verbs provider now can directly connect to the network adapters using the GID. In other words, the patch allows to use Libfabric even if there is no IP address set for the Infiniband interfaces. There are significant issues of issues IP addresses for connection establishment: - It requires to set up/maintain IP addresses for every IB interfaces. - In the context of multirail (multiple local interfaces that belong to the same network subnet), it requires specific IP routes to prevent an interface to reply for another one. Connection establishment would fail otherwise. The GID can be accessed by looking at the field src_addr returned by "fi_info -p verbs -v". Example of output: src_addr: fi_sockaddr_ib://[fe80::248a:703:1c:dc0c]:ffff:13f:0 The patch also modifies fabtest so anybody can start testing this new feature. A new option -F allows to specify the address format that is use for the source/destination addresses. After figuring out the GID of interface that will be used for the server, one can run the following commands with fabtest: Server: fi_msg_bw -s [fe80::248a:703:1c:dc0c]:ffff:13f:0 -e msg \ -p verbs -F fi_sockaddr_ib Client: fi_msg_bw -e msg -p verbs \ -F fi_sockaddr_ib [fe80::248a:703:1c:dc0c]:ffff:13f:0 Signed-off-by: Sylvain Didelot <sdidelot@ddn.com>
- Loading branch information