Hi, Sean
Thanks for point it out for me :-)
I'll try to follow the conversation to understand what
really needs to be done, see if I could do some
contribution on it.
Regards,
Michael Wang
On 03/19/2015 06:02 PM, Hefty, Sean wrote:
We have plenty of places where we don't care what exactly the
transport type is, but only care if it's IB type.
This patch introduce rdma_transport_is_ib() as shortcuts to check
whether an 'ib_device' is infiniband transport type, which help us to
save some code.
In most of these places, the check that we want is whether IB management is
used. The transport check is an indirect way of checking for that, and I
believe we should use a more direct method of checking for the functionality
that's actually desired.
Please see the following thread that is related to these changes:
http://www.spinics.net/lists/linux-rdma/msg23484.html
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/