> The main motivations are: > > 1. Greater degree of control by individual drivers. Drivers have a > choice to use it or not.
I believe that some callers need to know that specific query calls will not sleep. That capability should either be required or exposed through the API. > 2. The library functions do not sleep, and can be called from any context. > > In the bargain we lose the lmc cache. However, if we move it to the device > structure like the pkey_tbl_len, it can be accessed directly (TODO). > Let me know what you think about it. The LMC cache is accessed by the MAD layer. I know that MADs aren't considered a performance path, but we don't want to query the device for every MAD. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
