[ofa-general] [PATCHv4 01/10] ib_core: Refine device personality from node type to port type

Eli Cohen eli at dev.mellanox.co.il
Thu Aug 6 10:20:35 PDT 2009


On Wed, Aug 05, 2009 at 01:43:12PM -0700, Sean Hefty wrote:
> 
> Can resources (PDs, CQs, MRs, etc.) between the different transports be shared?
> Does QP failover between transports work?

There is nothing in the architecture that precludes this; we are not
currently focusing on this.

> 
> Did you consider modifying rdma_node_get_transport_s_() and returning a bitmask
> of the supported transports available on the device?  I'm wondering if something
> like this makes sense, to allow skipping devices that are not of interest to a
> particular module.  This would be in addition to the rdma_port_get_transport
> call.
> 
> There's just a lot of new checks to handle the transport on a port by port
> basis.
> 

We can use a function: rdma_is_transport_supported(ibdev, transport),
which will return true if at least one port runs the given transport.
Thus, as long as we have only a few transports, these checks will
amount to 1-2 lines of code in each module.




More information about the general mailing list