> > Is there a way to query an ethX interface and find out if it's > > iWarp/RDMA capable? > > > > > > Unfortunately there isn't an easy way to do this (someone should > implement this as part of the rdma services!). > > One way you can do it is to get all the IP addresses from each > interface via SIOCGIFCONF and friends, and then attempt to rdma_bind() > to each address/port 0. If it succeeds, then that interface supports > rdma. OpenMPI does this...
Another semi-ugly way to do it is to look at the /sys/class/net/ethX/device link and then look at the /sys/class/infiniband/xxx/device links and see if it is the same. any _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
