[openib-general] Re: [PATCH] RFC Verbs: add support for transport specific verbs

Roland Dreier rdreier at cisco.com
Wed Mar 1 09:22:23 PST 2006


    Michael> I agree.  Roland, what you might have missed is that the
    Michael> first solution posted added a requirement to check device
    Michael> type *in addition to checking the method is non-NULL and
    Michael> its return code* on each transport-specific call, so it
    Michael> had run-time penalty.

I don't think I really agree with you that the device type checks are
necessary in most places.  For example, if we reach code that wants to
call the process_mad method, then we must already know that we're
dealing with an IB device.

 - R.



More information about the general mailing list