[ofa-general] rdma/iWarp capability of an ethX interface

Steve Wise swise at opengridcomputing.com
Thu Jul 9 15:05:04 PDT 2009


pandit ib wrote:
> 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...


Steve.



More information about the general mailing list