[openib-general] [PATCH][UVERBS][RFC] Exporting device node_type to user mode

Roland Dreier rdreier at cisco.com
Thu Apr 20 14:13:00 PDT 2006


    Tom> In order to support transport independent behavior for
    Tom> user-mode RDMA CMA clients we need to export the node_type to
    Tom> the user mode device attributes structure. The reason for
    Tom> this is that the user-mode CMA needs to behave differently
    Tom> for iWARP vs. IB transports when migrating QP state at
    Tom> connection setup and tear down.

Adding node_type to the libibverbs API is OK (for the 1.1 release
series...), but I think it would be better to read the existing
/sys/class/infiniband/<xxx>/node_type field in sysfs rather than
adding it in to the query stuff.

 - R.



More information about the general mailing list